PetscErrorCode KronBlocks_t::KronConstruct ( const Mat &  Mat_L,
const Op_t OpType_L,
const Mat &  Mat_R,
const Op_t OpType_R,
Mat &  MatOut 
)

Constructs the explicit sum of Kronecker products of two matrices provided that they follow a fixed Kronecker product structure according to the corresponding sub-blocks.

Imposing the latter condition is needed since this implementation requires that the given matrices have only one non-zero quantum number block for each row / block row

Definition at line 635 of file DMRGKron.cpp.

Referenced by DMRGBlockContainer< Block, Hamiltonian >::CalculateCorrelations_BlockDiag().

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