NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ get_timestep_matrix_pseudo()

template<typename T , class Matrix >
void cntr::get_timestep_matrix_pseudo ( int  tstp,
matrix< T > &  G,
std::vector< Matrix > &  data 
)

Definition at line 1108 of file cntr_herm_pseudo_impl.hpp.

References get_timestep_pseudo().

1108  {
1109  int i,l,m,sg,dim,ntau=G.ntau(),nmax=(tstp<0 ? ntau+1 : ntau+2*tstp+3);
1110  std::complex<T> *data1;
1111  assert((int)data.size()>=nmax);
1112  dim=G.size1();
1113  sg=dim*dim;
1114  data1=new std::complex<T> [nmax*sg];
1115  get_timestep_pseudo(tstp,G,data1);
1116  for(i=0;i<nmax;i++) for(l=0;l<dim;l++) for(m=0;m<dim;m++) data[i](l,m)=data1[i*sg+l*dim+m];
1117  delete [] data1;
1118 }
void get_timestep_pseudo(int tstp, GG &G, std::complex< double > *timestep)
+ Here is the call graph for this function: