PetscErrorCode QuantumNumbers::QNToGlobalRange ( const PetscReal &  QNValue,
PetscInt &  GlobIdxStart,
PetscInt &  GlobIdxEnd 
) const

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

Exceptions
PETSC_ERR_ARG_WRONGSTATEObject not initialized. Call Initialize() first.
PETSC_ERR_ARG_OUTOFRANGEGiven quantum number was not found.
Parameters
QNValueValue of the quantum number
GlobIdxStartInclusive lower bound index
GlobIdxEndExclusive upper bound index

Definition at line 99 of file QuantumNumbers.cpp.

Referenced by OpBlockToGlobalRangeStart().

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