Map
Overview
class |
|
The purpose of this class is to create a map to a pre-existing object of type cntr::herm_matrix or cntr::herm_matrix_timestep. One can then use this class without making a physical copy of the original data. The structure is inherited from the existing object. The usage of this class is mainly reserved for active developers as it is employed to enhance a performance of low-lying routines and MPI communications. It is characterized by the following parameters:
T(template parameter): Precision, usually set todouble; we use the definition#define GREEN_TSTP_VIEW cntr::herm_matrix_timestep_view<double>tstp(integer): The timestep variable,tstp>=-1.ntau(integer): number of discretization points on the imaginary time axis,ntau>=0size1(integer): orbital dimension. Each element \(C(t,t')\) is a square matrix of dimensionsize1\(\times\)size1.sig(FERMIONorBOSON).
Constructors
|
Default constructor, does not allocate memory and sets |
|
Creates a map with all entries to |
|
Creates a map to the predefined |
Accessing and manipulation
In general, all functions described for herm_matrix_timestep argument in Overview can be replaced by a herm_matrix_timestep_view argument following the same syntax.