NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library
cntr::distributed_timestep_array< T > Class Template Reference

Specialization of the distributed_array in which data-blocks are associated with the herm_matrix_timestep objects More...

#include <cntr_distributed_timestep_array_decl.hpp>

Public Member Functions

void clear (void)
  Clear the data More...
 
distributed_array< std::complex< T > > data (void) const
 
 distributed_timestep_array ()
 
 distributed_timestep_array (const distributed_timestep_array &a)
 
 distributed_timestep_array (int n, int nt, int ntau, int size, int sig, bool mpi)
  Initializes the distributed_timestep_array class. More...
 
cntr::herm_matrix_timestep_view< T > & G (int j)
  Get the pointer to the herm_matrix_timestep for the j-th block More...
 
std::vector< cntr::herm_matrix_timestep_view< T > > G (void) const
 
void mpi_bcast_all (void)
  MPI allgather equivalent More...
 
void mpi_bcast_block (int j)
  MPI broadcast equivalent for the j-th block More...
 
int n (void) const
 
int nt (void) const
 
int ntasks (void) const
 
int ntau (void) const
 
distributed_timestep_array< T > & operator= (const distributed_timestep_array &a)
 
void reset_tstp (int tstp)
  Reset the data to new timestep of herm_matrix_timestep More...
 
int sig (void) const
 
int size (void) const
 
int tid (void) const
 
int tstp (void) const
 
 ~distributed_timestep_array ()
 

Detailed Description

template<typename T>
class cntr::distributed_timestep_array< T >

Specialization of the distributed_array in which data-blocks are associated with the herm_matrix_timestep objects

Purpose

Specialization of the distributed_array for the herm_matrix_timestep objects, which is used for problems, where all ranks need to have the full information [for instance spatial] about the system for a given timestep. In practice the time stepping procedure is used and the last timestep needs to be communicated between all MPI processes.

Definition at line 23 of file cntr_distributed_timestep_array_decl.hpp.


The documentation for this class was generated from the following files: