TBTK
TBTK::FockStateRule::SumRule Class Reference
Inheritance diagram for TBTK::FockStateRule::SumRule:
TBTK::FockStateRule::FockStateRule

Public Member Functions

 SumRule (std::initializer_list< Index > stateIndices, int numParticles)
 
 SumRule (std::vector< Index > stateIndices, int numParticles)
 
virtual ~SumRule ()
 
virtual SumRuleclone () const
 
virtual WrapperRule createNewRule (const LadderOperator< BitRegister > &ladderOperator) const
 
virtual WrapperRule createNewRule (const LadderOperator< ExtensiveBitRegister > &ladderOperator) const
 
virtual bool isSatisfied (const FockSpace< BitRegister > &fockSpace, const FockState< BitRegister > &fockState) const
 
virtual bool isSatisfied (const FockSpace< ExtensiveBitRegister > &fockSpace, const FockState< ExtensiveBitRegister > &fockState) const
 
virtual bool operator== (const FockStateRule &rhs) const
 
virtual void print () const
 
- Public Member Functions inherited from TBTK::FockStateRule::FockStateRule
 FockStateRule (FockStateRuleID fockStateRuleID)
 
virtual ~FockStateRule ()
 
FockStateRuleID getFockStateRuleID () const
 

Additional Inherited Members

- Public Types inherited from TBTK::FockStateRule::FockStateRule
enum  FockStateRuleID { WrapperRule = 0, SumRule = 1, DifferenceRule = 2 }
 

Constructor & Destructor Documentation

TBTK::FockStateRule::SumRule::SumRule ( std::initializer_list< Index stateIndices,
int  numParticles 
)

Constructor

TBTK::FockStateRule::SumRule::SumRule ( std::vector< Index stateIndices,
int  numParticles 
)

Constructor

virtual TBTK::FockStateRule::SumRule::~SumRule ( )
virtual

Destructor.

Member Function Documentation

virtual SumRule* TBTK::FockStateRule::SumRule::clone ( ) const
virtual
virtual WrapperRule TBTK::FockStateRule::SumRule::createNewRule ( const LadderOperator< BitRegister > &  ladderOperator) const
virtual
virtual WrapperRule TBTK::FockStateRule::SumRule::createNewRule ( const LadderOperator< ExtensiveBitRegister > &  ladderOperator) const
virtual
virtual bool TBTK::FockStateRule::SumRule::isSatisfied ( const FockSpace< BitRegister > &  fockSpace,
const FockState< BitRegister > &  fockState 
) const
virtual

Check whether a given FockState fullfills the rule with respect to a particular FockSpace.

Implements TBTK::FockStateRule::FockStateRule.

virtual bool TBTK::FockStateRule::SumRule::isSatisfied ( const FockSpace< ExtensiveBitRegister > &  fockSpace,
const FockState< ExtensiveBitRegister > &  fockState 
) const
virtual

Check whether a given FockState fullfills the rule with respect to a particular FockSpace.

Implements TBTK::FockStateRule::FockStateRule.

virtual bool TBTK::FockStateRule::SumRule::operator== ( const FockStateRule rhs) const
virtual

Comparison operator.

Implements TBTK::FockStateRule::FockStateRule.

virtual void TBTK::FockStateRule::SumRule::print ( ) const
virtual

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