NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ get_mat() [9/12]

template<typename T >
void cntr::get_mat ( const int  m,
std::complex< T > &  G_mat,
herm_matrix_timestep_view< T > &  G,
herm_matrix_timestep_view< T > &  Gcc 
)
inline

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

Purpose

Returns the lesser component \( G^\mathrm{M}(\tau_m) \) at given imaginary time \( \tau_m\).

Parameters
m

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

G_mat

[complex<T>] The Matsubara 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 23 of file cntr_getset_herm_matrix_timestep_view_inc.hpp.

24  {
25  assert(m <= G.ntau());
26  assert(G.ntau() == Gcc.ntau());
27  assert(G.size1() == Gcc.size1());
28  assert(G.size2() == Gcc.size2());
29  assert(G.sig() == Gcc.sig());
30 
31  G_mat = *G.matptr(m);
32 }