PetscErrorCode Block::SpinBase::CheckOperatorArray ( const Op_t OpType) const

Determines whether the operator arrays have been successfully filled with matrices.

Remarks
TODO: Change the interface to take in only Op_t
Exceptions
PETSC_ERR_ARG_WRONGThe operator type is incorrect
PETSC_ERR_ARG_CORRUPTMatrix not yet created
PETSC_ERR_ARG_WRONGMatrix not square
PETSC_ERR_ARG_WRONGMatrix dimension does not match the number of states
Parameters
OpTypeoperator type

Definition at line 375 of file DMRGBlock.cpp.

Referenced by CheckOperators(), and CreateSm().

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