PetscErrorCode QuantumNumbers::GlobalIdxToBlockIdx ( const PetscInt &  GlobIdx,
PetscInt &  BlockIdx,
PetscInt &  LocIdx 
) const

Maps the global index of a basis state to its block index and local index in the block.

Parameters
GlobIdxGlobal index
BlockIdxBlock index
LocIdxLocal index in the block

Definition at line 142 of file QuantumNumbers.cpp.

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