|
TBTK
|
#include <Model.h>
Public Types | |
| enum | Statistics { FermiDirac, BoseEinstein } |
Public Member Functions | |
| Model () | |
| ~Model () | |
| void | addHA (HoppingAmplitude ha) |
| void | addHAAndHC (HoppingAmplitude ha) |
| int | getBasisIndex (Index index) |
| int | getBasisSize () |
| void | construct () |
| bool | getIsConstructed () |
| void | constructCOO () |
| void | destructCOO () |
| void | reconstructCOO () |
| void | setTemperature (double temperature) |
| double | getTemperature () |
| void | setChemicalPotential (double chemicalPotential) |
| double | getChemicalPotential () |
| void | setStatistics (Statistics statistics) |
| Statistics | getStatistics () |
| AmplitudeSet * | getAmplitudeSet () |
| void | createGeometry (int dimensions, int numSpecifiers=0) |
| Geometry * | getGeometry () |
| void | saveEV (std::string path="./", std::string filename="EV.dat") |
| void | setTalkative (bool isTalkative) |
Friends | |
| class | FileReader |
The Model conatins all information about the Hamiltonian. It is currently a wrapper for AmplitudeSet, but can in the future come to be extended with further properties.
|
strong |
Enums for Fermi-Dirac and Bose-Einstein statistics.
| TBTK::Model::Model | ( | ) |
Constructor.
| TBTK::Model::~Model | ( | ) |
Destructor.
|
inline |
Add a HoppingAmplitude.
|
inline |
Add a HoppingAmplitude and its Hermitian conjugate.
| void TBTK::Model::construct | ( | ) |
Construct Hilbert space. No more HoppingAmplitudes should be added after this call.
|
inline |
Construct Hamiltonian on COO format.
| void TBTK::Model::createGeometry | ( | int | dimensions, |
| int | numSpecifiers = 0 |
||
| ) |
Create geometry.
|
inline |
Destruct Hamiltonian on COO format.
|
inline |
Get amplitude set.
|
inline |
Get Hilbert space index corresponding to given 'from'-index.
| index | 'From'-index to get Hilbert space index for. |
|
inline |
Get size of Hilbert space.
|
inline |
Get chemical potential.
|
inline |
Get geometry.
|
inline |
Returns true if the Hilbert space basis has been constructed.
|
inline |
Get statistics.
|
inline |
Get temperature.
|
inline |
To be called when HoppingAmplitudes need to be reevaluated. This is required if the AmplitudeSet in addition to its standard storage format also utilizes a more effective format such as COO format and some HoppingAmplitudes are evaluated through the use of callbacks.
|
inline |
Set chemical potential.
|
inline |
Set statistics.
|
inline |
Set temperature.
|
friend |
FileReader is a friend class to allow it to write Model data.
1.8.11