PetscErrorCode QuantumNumbers::BlockIdxToGlobalRange ( const PetscInt &  BlockIdx,
PetscInt &  GlobIdxStart,
PetscInt &  GlobIdxEnd 
) const

Maps the quantum number block index to the global indices [start,end)

Exceptions
PETSC_ERR_ARG_WRONGSTATEObject not initialized. Call Initialize() first.
PETSC_ERR_ARG_OUTOFRANGEGiven BlockIdx out of bounds [0, num_sectors)
Parameters
BlockIdxIndex of the quantum number block
GlobIdxStartInclusive lower bound index
GlobIdxEndExclusive upper bound index

Definition at line 53 of file QuantumNumbers.cpp.

Referenced by NumStates().

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