LIBINT 2.7.2
Public Types | Public Member Functions | Static Public Attributes | List of all members
libint2::GenOper< Descr > Class Template Reference

GenOper is a single operator described by descriptor Descr. More...

#include <oper.h>

Inheritance diagram for libint2::GenOper< Descr >:
Inheritance graph
[legend]
Collaboration diagram for libint2::GenOper< Descr >:
Collaboration graph
[legend]

Public Types

typedef Descr Descriptor
 
typedef Descr::Properties Properties
 
typedef Oper< Properties > parent_type
 
typedef GenOper iter_type
 GenOper is not a set.
 
- Public Types inherited from libint2::Oper< Descr::Properties >
typedef Descr::Properties Properties
 
- Public Types inherited from libint2::OperSet
typedef DummyIterator iter_type
 
- Public Types inherited from libint2::Hashable< unsigned, ComputeKey >
typedef KeyTraits< unsigned >::ReturnType KeyReturnType
 

Public Member Functions

unsigned int num_oper () const override
 Number of operators in the set. More...
 
unsigned int key () const override
 Implementation of Hashable::key() More...
 
std::string description () const override
 Implementation of OperSet::description() More...
 
std::string label () const override
 Implementation of OperSet::label() More...
 
Descr & descr ()
 Return the descriptor object.
 
const Descr & descr () const
 Return the descriptor object.
 
 GenOper (Descr descr=Descr())
 
 GenOper (const SafePtr< GenOper > &o)
 
 GenOper (const SafePtr< OperSet > &o)
 
 GenOper (const SafePtr< ConstructablePolymorphically > &o)
 
 GenOper (const ConstructablePolymorphically &o)
 
- Public Member Functions inherited from libint2::Oper< Descr::Properties >
int psymm (int i, int j) const override
 Implementation of OperSet::psymm() More...
 
int hermitian (int p) const override
 Implementation of OperSet::hermitian() More...
 
bool origin_dependent () const override
 Implementation of OperSet::origin_dependent() More...
 
bool operator== (const Oper &) const
 
virtual std::string description () const =0
 Returns full human-readable description of the operator. More...
 
virtual std::string label () const =0
 Returns short label for the operator. More...
 
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. More...
 
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? More...
 
virtual unsigned int num_oper () const =0
 Number of operators in the set. More...
 
virtual KeyReturnType key () const=0
 

Static Public Attributes

static const unsigned int max_key = Descr::max_key
 Range of key is [0,Descr::max_key)
 

Additional Inherited Members

- Protected Member Functions inherited from libint2::Oper< Descr::Properties >
 Oper ()
 The only declared constructor is only useable by derived classes.
 
- Protected Attributes inherited from libint2::Hashable< unsigned, ComputeKey >
KeyStore< unsigned, OwnKey< KeyMP >::result > key_
 

Detailed Description

template<class Descr>
class libint2::GenOper< Descr >

GenOper is a single operator described by descriptor Descr.

Member Function Documentation

◆ description()

template<class Descr >
std::string libint2::GenOper< Descr >::description ( ) const
inlineoverridevirtual

Implementation of OperSet::description()

Implements libint2::OperSet.

◆ key()

template<class Descr >
unsigned int libint2::GenOper< Descr >::key ( ) const
inlineoverridevirtual

Implementation of Hashable::key()

Implements libint2::Hashable< unsigned, ComputeKey >.

◆ label()

template<class Descr >
std::string libint2::GenOper< Descr >::label ( ) const
inlineoverridevirtual

Implementation of OperSet::label()

Implements libint2::OperSet.

◆ num_oper()

template<class Descr >
unsigned int libint2::GenOper< Descr >::num_oper ( ) const
inlineoverridevirtual

Number of operators in the set.

Implements libint2::OperSet.


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