PetscInt QuantumNumbers::OpBlockToGlobalRangeStart ( const PetscInt &  BlockIdx,
const PetscInt &  BlockShift,
PetscBool &  flg 
) const
inline

Maps the shifted quantum number block index to the global index start in the range [start,end).

The value of flg is set to PETSC_TRUE if the output block exists, PETSC_FALSE otherwise

Parameters
BlockIdxIndex of the quantum number block
BlockShiftShift in quantum number associated to the operator
flgIndicates whether range is non-zero

Definition at line 169 of file QuantumNumbers.hpp.

Referenced by KronBlocks_t::KronSumConstruct().

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