Go to the documentation of this file.
23 #ifndef COM_DAFER45_TBTK_SOLVER_DIAGONALIZATION
24 #define COM_DAFER45_TBTK_SOLVER_DIAGONALIZATION
176 void setupBasisTransformation();
179 void transformToOrthonormalBasis();
182 void transformToOriginalBasis();
188 this->selfConsistencyCallback = &selfConsistencyCallback;
192 this->maxIterations = maxIterations;
220 return eigenValues[state];
Container of Model related information.
Definition: Model.h:57
Container of Model related information.
Solves a Model using diagonalization.
Definition: Diagonalizer.h:52
int getBasisSize() const
Definition: Model.h:311
Definition: Diagonalizer.h:55
int getBasisIndex(const Index &index) const
Definition: Model.h:331
const std::complex< double > getAmplitude(int state, const Index &index)
Definition: Diagonalizer.h:211
const double getEigenValue(int state)
Definition: Diagonalizer.h:219
const CArray< std::complex< double > > & getEigenVectors()
Definition: Diagonalizer.h:203
CArray< double > & getEigenValuesRW()
Definition: Diagonalizer.h:199
virtual bool selfConsistencyCallback(Diagonalizer &diagonalizer)=0
CArray< std::complex< double > > & getEigenVectorsRW()
Definition: Diagonalizer.h:207
Base class for classes that can communicate their status during execution.
Definition: Communicator.h:56
Base class for classes that can communicate their status during execution.
Model & getModel()
Definition: Solver.h:73
const CArray< double > & getEigenValues()
Definition: Diagonalizer.h:195
Base class for Solvers.
Definition: Solver.h:42
void setMaxIterations(int maxIterations)
Definition: Diagonalizer.h:191
Container for a C style array.
Physical index.
Definition: Index.h:44
void setSelfConsistencyCallback(SelfConsistencyCallback &selfConsistencyCallback)
Definition: Diagonalizer.h:185