NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ block()

template<typename T >
T * cntr::distributed_array< T >::block ( int  j)

Returns the pointer to block j.

Purpose

Returns the pointer to block j.

Parameters
j

Block index .

Definition at line 170 of file cntr_distributed_array_impl.hpp.

170  {
171  assert(j<=n_-1);
172  return data_+j*blocksize_;
173 }