NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ get_tv() [10/12]

template<typename T >
void cntr::get_tv ( const int  i,
const int  m,
cdmatrix &  G_tv,
herm_matrix_timestep_view< T > &  G,
herm_matrix_timestep_view< T > &  Gcc 
)

Returns the left-mixing component of a general contour function at given times.

Purpose

Returns the left-mixing component \( G^\rceil(t_i,\tau_m) \) at given times \( t_i\) and \( \tau_m\).

Parameters
i

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

m

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

G_tv

[cdmatrix] The left-mixing 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 389 of file cntr_getset_herm_matrix_timestep_view_inc.hpp.

389  {
390  assert(i == G.tstp());
391  assert(m <= G.ntau());
392  assert(G.tstp() == Gcc.tstp());
393  assert(G.ntau() == Gcc.ntau());
394  assert(G.size1() == Gcc.size1());
395  assert(G.size2() == Gcc.size2());
396  assert(G.sig() == Gcc.sig());
397  int size1 = G.size1(), size2 = G.size2();
398  std::complex<T> *tv;
399 
400  tv = G.tvptr(m);
401  map_ptr2matrix(size1, size2, tv, G_tv);
402 }