NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ clear()

template<typename T >
void cntr::distributed_array< T >::clear ( void  )

Clear all data

Purpose

Clear all data

Definition at line 186 of file cntr_distributed_array_impl.hpp.

186  {
187  if(data_!=0) memset(data_, 0, sizeof(T)*maxlen_*n_);
188 }