TBTK
TBTK::AbstractOperator Class Reference
Inheritance diagram for TBTK::AbstractOperator:
TBTK::DefaultOperator TBTK::HartreeFockPotentialOperator TBTK::KineticOperator TBTK::NuclearPotentialOperator

Public Types

enum  OperatorID { Default = 0, Kinetic = 1, NuclearPotential = 2, HartreeFockPotential = 3 }
 

Public Member Functions

virtual ~AbstractOperator ()
 
OperatorID getOperatorID () const
 

Protected Member Functions

 AbstractOperator (OperatorID operatorID)
 

Member Enumeration Documentation

◆ OperatorID

List of operator identifiers. Officially supported operators are given unique identifiers. Operators not (yet) supported should make sure they use an identifier that does not clash with the officially supported ones [ideally a large random looking number (magic number) to also minimize accidental clashes with other operators that are not (yet) supported].

Constructor & Destructor Documentation

◆ ~AbstractOperator()

virtual TBTK::AbstractOperator::~AbstractOperator ( )
virtual

Destructor.

◆ AbstractOperator()

TBTK::AbstractOperator::AbstractOperator ( OperatorID  operatorID)
protected

Constructor.

Member Function Documentation

◆ getOperatorID()

AbstractOperator::OperatorID TBTK::AbstractOperator::getOperatorID ( ) const
inline

Get operator identifier.


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