template<class Block, class Hamiltonian>
PetscErrorCode DMRGBlockContainer< Block, Hamiltonian >::CalculateOperatorProducts ( const MPI_Comm &  comm_in,
const std::vector< Correlator > &  Corr,
const Block_t BlockType,
Block &  BlockRef,
std::map< std::string, Mat > &  OpMats,
std::vector< Mat > &  AllOpProds,
std::vector< Mat > &  OpProds 
)
inlineprivate

Calculates the products of operators that belong to a single block represented by the same basis.

Parameters
comm_incommunicator
Corrlist of correlators
BlockTypeblock type (whether BlockSys or BlockEnv)
BlockRefreference to the block (non-const since RetrieveOperator requires modification of the block object)
OpMatsmaps operator key strings to corresponding matrices
AllOpProdslist of all operator products generated and to be destroyed
OpProdslist of operator products requested in Corr

Definition at line 2340 of file DMRGBlockContainer.hpp.

This site was generated by Sphinx using Doxygen with a customized theme from doxygen-bootstrapped.