TBTK
|
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 InteractionAmplitudeSet * | getInteractionAmplitudeSet () const |
const FockStateRuleSet & | getFockStateRuleSet () const |
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.
|
inline |
Add rule that restricts the Fock space.
|
inline |
Add InteractionAmplitude.
|
inline |
Returns a pointer to the FockState<BitRegister> contained by the wrapper.
|
inline |
Returns a pointer to the FockState<ExtensiveBitRegister> contained by the wrapper.
|
inline |
Get FockStateRules.
|
inline |
|
inline |
Returns true if the wrapped FockState is of type BitRegister.
|
inline |
Returns true if the wrapped FockState is of type ExtensiveBitRegister.