TBTK
TBTK::ManyParticleContext Class Reference

Public Member Functions

 ManyParticleContext (const SingleParticleContext *singleParticleContext)
 
 ~ManyParticleContext ()
 
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::ManyParticleContext::ManyParticleContext ( const SingleParticleContext singleParticleContext)

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

TBTK::ManyParticleContext::~ManyParticleContext ( )

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

Member Function Documentation

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

Add rule that restricts the Fock space.

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

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

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

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

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

Get FockStateRules.

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

Returns true if the wrapped FockState is of type BitRegister.

bool TBTK::ManyParticleContext::wrapsExtensiveBitRegister ( )
inline

Returns true if the wrapped FockState is of type ExtensiveBitRegister.


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