TBTK
TBTK::ManyParticleContext Class Reference

Public Member Functions

 ManyParticleContext ()
 
 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

◆ ManyParticleContext() [1/2]

TBTK::ManyParticleContext::ManyParticleContext ( )

Constructor.

◆ ManyParticleContext() [2/2]

TBTK::ManyParticleContext::ManyParticleContext ( const SingleParticleContext singleParticleContext)

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

◆ ~ManyParticleContext()

TBTK::ManyParticleContext::~ManyParticleContext ( )

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

Member Function Documentation

◆ addFockStateRule()

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

Add rule that restricts the Fock space.

◆ addIA()

void TBTK::ManyParticleContext::addIA ( InteractionAmplitude  ia)
inline

◆ getFockSpaceBitRegister()

FockSpace< BitRegister > * TBTK::ManyParticleContext::getFockSpaceBitRegister ( )
inline

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

◆ getFockSpaceExtensiveBitRegister()

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

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

◆ getFockStateRuleSet()

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

Get FockStateRules.

◆ getInteractionAmplitudeSet()

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

◆ wrapsBitRegister()

bool TBTK::ManyParticleContext::wrapsBitRegister ( )
inline

Returns true if the wrapped FockState is of type BitRegister.

◆ wrapsExtensiveBitRegister()

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: