TBTK
TBTK::ManyBodyContext Class Reference

Public Member Functions

 ManyBodyContext (const SingleParticleContext *singleParticleContext)
 
 ~ManyBodyContext ()
 
bool wrapsBitRegister ()
 
bool wrapsExtensiveBitRegister ()
 
FockSpace< BitRegister > * getFockSpaceBitRegister ()
 
FockSpace< ExtensiveBitRegister > * getFockSpaceExtensiveBitRegister ()
 
void addFockStateRule (const FockStateRule::WrapperRule rule)
 
void addIA (InteractionAmplitude ia)
 
const InteractionAmplitudeSetgetInteractionAmplitudeSet () const
 
const FockStateRuleSetgetFockStateRuleSet () const
 

Constructor & Destructor Documentation

TBTK::ManyBodyContext::ManyBodyContext ( const SingleParticleContext singleParticleContext)

Constructor. The ManyBodyContext assumes ownership of the FockSpace and will destroy it at destrucion.

TBTK::ManyBodyContext::~ManyBodyContext ( )

Constructor. The ManyBodyContext assumes ownership of the FockSpace and will destroy it at destrucion. Destructor.

Member Function Documentation

void TBTK::ManyBodyContext::addFockStateRule ( const FockStateRule::WrapperRule  rule)
inline

Add rule that restricts the Fock space.

void TBTK::ManyBodyContext::addIA ( InteractionAmplitude  ia)
inline
FockSpace< BitRegister > * TBTK::ManyBodyContext::getFockSpaceBitRegister ( )
inline

Returns a pointer to the FockState<BitRegister> contained by the wrapper.

FockSpace< ExtensiveBitRegister > * TBTK::ManyBodyContext::getFockSpaceExtensiveBitRegister ( )
inline

Returns a pointer to the FockState<ExtensiveBitRegister> contained by the wrapper.

const FockStateRuleSet & TBTK::ManyBodyContext::getFockStateRuleSet ( ) const
inline

Get FockStateRules.

const InteractionAmplitudeSet * TBTK::ManyBodyContext::getInteractionAmplitudeSet ( ) const
inline
bool TBTK::ManyBodyContext::wrapsBitRegister ( )
inline

Returns true if the wrapped FockState is of type BitRegister.

bool TBTK::ManyBodyContext::wrapsExtensiveBitRegister ( )
inline

Returns true if the wrapped FockState is of type ExtensiveBitRegister.


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