NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ get_mat() [12/12]

template<typename T >
void cntr::get_mat ( const int  m,
cdmatrix &  G_mat,
herm_matrix_timestep_view< T > &  G 
)

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

Definition at line 118 of file cntr_getset_herm_matrix_timestep_view_inc.hpp.

118  {
119  assert(m <= G.ntau());
120  std::complex<T> *mat;
121  int size1=G.size1(), size2=G.size2();
122 
123  mat = G.matptr(m);
124  map_ptr2matrix(size1, size2, mat, G_mat);
125 }