NESSi  v1.0.2 The NonEquilibrium Systems Simulation Library

## ◆ get_gtr() [10/12]

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

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 [cdmatrix] The greater component (returned to an eigen3 matrix). G [herm_matrix_timestep_view] Contour function G Gcc [herm_matrix_timestep_view] Hermitian conjugate $$G^\ddagger$$ of $$G$$.

Definition at line 554 of file cntr_getset_herm_matrix_timestep_view_inc.hpp.

References get_les(), and get_ret().

555  {
556  cdmatrix G_les, G_ret;
557
558  get_les(i, j, G_les, G, Gcc);
559  get_ret(i, j, G_ret, G, Gcc);
560  G_gtr.noalias() = G_les + G_ret;
561 }
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: