NanoStructures  1.0
DMFT solver for layered, strongly correlated nanostructures
nrg::HilbertSpaceTable Class Reference

HilbertSpaceTable: Manages the table of HilbertSubSpace instances. More...

#include <hilbertspacetable.h>

Public Member Functions

 HilbertSpaceTable ()
 constructs a table of HilbertSubSpace instances. The size of the table is determined by MAXITER, MAXQ, MAXSZ
 
HilbertSubSpacegetHS (int iteration, int Q, int Sz)
 returns a pointer to the HilbertSubSpace for a given iteration, charge Q and spin Sz. If the HilbertSubSpace does not exist NULL is returned. More...
 
void setHS (int iteration, int Q, int Sz, HilbertSubSpace *HS)
 sets the HilbertSubSpace for a given iteration, charge Q and spin Sz. More...
 
 ~HilbertSpaceTable ()
 destructs the HilbertSubSpace table and deletes all HilberSubSpace instances.
 

Protected Attributes

HilbertSubSpace ** m_hilbertSpaces
 

Detailed Description

HilbertSpaceTable: Manages the table of HilbertSubSpace instances.

Member Function Documentation

HilbertSubSpace* nrg::HilbertSpaceTable::getHS ( int  iteration,
int  Q,
int  Sz 
)
inline

returns a pointer to the HilbertSubSpace for a given iteration, charge Q and spin Sz. If the HilbertSubSpace does not exist NULL is returned.

Parameters
[in]iterationiteration in the chain diagonalization
[in]Qcharge quantum number
[in]Szspin quantum number
Returns
pointer to HilbertSubSpace otherwise NULL
void nrg::HilbertSpaceTable::setHS ( int  iteration,
int  Q,
int  Sz,
HilbertSubSpace HS 
)
inline

sets the HilbertSubSpace for a given iteration, charge Q and spin Sz.

Parameters
[in]iterationiteration in the chain diagonalization
[in]Qcharge quantum number
[in]Szspin quantum number
[in]HSpointer to the HilbertSubSpace

The documentation for this class was generated from the following files:
  • /home/chris/Development/Release/NanoStructures/nrg/hilbertspacetable.h
  • /home/chris/Development/Release/NanoStructures/nrg/hilbertspacetable.cpp