NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ set_zero()

template<typename T >
void cntr::function< T >::set_zero ( void  )

Set all data to zero for the function class

Purpose

Set all data to zero for the function class.

Definition at line 286 of file cntr_function_impl.hpp.

286  {
287  int len = element_size_ * (nt_ + 2);
288  if (len > 0)
289  memset(data_, 0, sizeof(cplx) * len);
290 }
cplx * data_
Pointer to the function in the Matrix form on the real-time axis ( ) ; &#39;data_+ element_size&#39; corresp...
std::complex< T > cplx
int nt_
Maximum number of the time steps.