LIBINT  2.6.0
Public Types | Public Member Functions | List of all members
libint2::OperSet Class Referenceabstract

OperSet is the base class for all (sets of) operators. More...

#include <oper.h>

Inheritance diagram for libint2::OperSet:
Inheritance graph
[legend]
Collaboration diagram for libint2::OperSet:
Collaboration graph
[legend]

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 bool origin_dependent () const =0
 is operator origin-dependent?
 
virtual unsigned int num_oper () const =0
 Number of operators in the set.
 

Detailed Description

OperSet is the base class for all (sets of) operators.

OperSet's must be constructable using SafePtr<OperSet> or SafePtr<ConstructablePolymorphically>.

Member Function Documentation

◆ hermitian()

virtual int libint2::OperSet::hermitian ( int  p) const
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 >.


The documentation for this class was generated from the following file: