| TBTK::TimeEvolver::~TimeEvolver |
( |
| ) |
|
| void TBTK::TimeEvolver::fixParticleNumber |
( |
bool |
particleNumberIsFixed | ) |
|
|
inline |
Fix particle number. If set to true, the number of particles remain the same throughout the calculation.
| double TBTK::TimeEvolver::getEigenValue |
( |
int |
state | ) |
|
|
inline |
| int TBTK::TimeEvolver::getNumberOfParticles |
( |
| ) |
|
|
inline |
| double TBTK::TimeEvolver::getOccupancy |
( |
int |
state | ) |
|
|
inline |
| void TBTK::TimeEvolver::run |
( |
| ) |
|
Run calculation. First self-consistently finds the ground state, and then time evolves the state. The callback set by setCallback is called at each iteration of both the self-consistent loop and time stepping loop.
| void TBTK::TimeEvolver::setCallback |
( |
bool(*)(TimeEvolver *timeEvolver) |
callback | ) |
|
|
inline |
Set callback used to update the Hamiltonian.
| void TBTK::TimeEvolver::setMaxSCIterations |
( |
int |
maxIterations | ) |
|
|
inline |
Set max iterations for the self-consistent loop.
| void TBTK::TimeEvolver::setNumberOfParticles |
( |
int |
numberOfParticles | ) |
|
|
inline |
Set number of particles.
- Parameters
-
| Number | of occupied particles. If set to a negative number, the number of particles is determined by the Fermi level. For fixed particle number the Fermi level at the first time step sets the number of paticles, for non-fixed particle number the Fermi level determines the number of particles in each time step. |
| void TBTK::TimeEvolver::setNumTimeSteps |
( |
int |
numTimeSteps | ) |
|
|
inline |
Set number of time steps for time evolution.
| void TBTK::TimeEvolver::setTimeStep |
( |
double |
dt | ) |
|
|
inline |
Set length of time step used for time evolution.
The documentation for this class was generated from the following files: