NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ mem_herm_matrix_timestep()

template<typename T >
size_t cntr::mem_herm_matrix_timestep ( int  tstp,
int  ntau,
int  size 
)

Evaluate the memory necessary for a herm_matrix_timestep.

Purpose

Evaluate the memory necessary for a herm_matrix_timestep. Squre matrix is assumed.

Parameters
tstp

time step

ntau

number of time grids on the Matsubara axis

size

size of the colums and the rows of the square Matrix

Definition at line 2038 of file cntr_utilities_impl.hpp.

2038  {
2039  size_t mem = ((tstp + 2) + (ntau + 1)) * size * size *
2040  sizeof(std::complex<T>);
2041  return mem;
2042 }