LIBINT
2.1.0-stable
|
OperSet is the base class for all (sets of) operators. More...
#include <oper.h>
Public Types | |
typedef DummyIterator | iter_type |
Public Member Functions | |
virtual std::string | description () const =0 |
Returns full human-readable description of the operator. | |
virtual std::string | label () const =0 |
Returns short label for the operator. | |
virtual int | psymm (int i, int j) const =0 |
Returns 1, 0, or -1, if each operator in the set is symmetric, nonsymmetric, or antisymmetric with respect to permutation of particles i and j. | |
virtual int | hermitian (int p) const =0 |
Returns 1, 0, or -1, if each operator in the set is Hermitian, non-Hermitian, or anti-Hermitian w.r.t. More... | |
virtual unsigned int | num_oper () const =0 |
Number of operators in the set. | |
OperSet is the base class for all (sets of) operators.
OperSet's must be constructable using SafePtr<OperSet> or SafePtr<ConstructablePolymorphically>.
|
pure virtual |
Returns 1, 0, or -1, if each operator in the set is Hermitian, non-Hermitian, or anti-Hermitian w.r.t.
particle p
Implemented in libint2::Oper< Props >, and libint2::Oper< Descr::Properties >.