NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ mem_function()

template<typename T >
size_t cntr::mem_function ( int  nt,
int  size 
)

Evaluate the memory necessary for a contour function.

Purpose

Evaluate the memory necessary for a contour function. Squre matrix is assumed.

Parameters
nt

maximum number of the time steps

size

size of the colums and the rows of the square Matrix

Definition at line 2059 of file cntr_utilities_impl.hpp.

2059  {
2060  size_t mem = (nt + 2) * size * size * sizeof(std::complex<T>);
2061  return mem;
2062 }