NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ reset_blocksize()

template<typename T >
void cntr::distributed_array< T >::reset_blocksize ( int  blocksize)

Reset the block size for each block.

Purpose

Clear the previous data and reset the block size for each block.

Parameters
blocksize

New size of the block

Definition at line 206 of file cntr_distributed_array_impl.hpp.

206  {
207  assert(0<=blocksize && 0<=blocksize_ && 0<= (int) maxlen_);
208  clear();
209  blocksize_=blocksize;
210 }
void clear(void)
Clear all data