NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ get_gtr() [9/12]

template<typename T >
void cntr::get_gtr ( const int  i,
const int  j,
std::complex< T > &  G_gtr,
herm_matrix_timestep_view< T > &  G,
herm_matrix_timestep_view< T > &  Gcc 
)
inline

Returns the greater component of a general contour function at given times.

Purpose

Returns the greater component \( G^>(t_i,t_j) \) at given times \( t_i\) and \( t_j\) from \(G^<(t_i,t_j)\) and \(G^\mathrm{R}(t_i,t_j)\).

Parameters
i

[int] Index of time \( t_i\) .

j

[int] Index of time \( t_j\) .

G_gtr

[complex<T>] The greater component (scalar GF).

G

[herm_matrix_timestep_view] Contour function G

Gcc

[herm_matrix_timestep_view] Hermitian conjugate \(G^\ddagger\) of \(G\).

Definition at line 520 of file cntr_getset_herm_matrix_timestep_view_inc.hpp.

References get_les(), and get_ret().

Referenced by get_gtr().

521  {
522  std::complex<T> G_les, G_ret;
523 
524  get_les(i, j, G_les, G, Gcc);
525  get_ret(i, j, G_ret, G, Gcc);
526  G_gtr = G_les + G_ret;
527 }
void get_les(const int i, const int j, std::complex< T > &G_les, herm_matrix_timestep_view< T > &G, herm_matrix_timestep_view< T > &Gcc)
Returns the lesser component of a general contour function at given times.
void get_ret(const int i, const int j, std::complex< T > &G_ret, herm_matrix_timestep_view< T > &G, herm_matrix_timestep_view< T > &Gcc)
Returns the retarded component of a general contour function at given times.
+ Here is the call graph for this function:
+ Here is the caller graph for this function: