#include <Diagonalizer.h>
Abstract base class for self-consistency callbacks.
◆ selfConsistencyCallback()
virtual bool TBTK::Solver::Diagonalizer::SelfConsistencyCallback::selfConsistencyCallback |
( |
Diagonalizer & |
diagonalizer | ) |
|
|
pure virtual |
Function that is called after the Hamiltonian have been diagonalized and is responsible for carrying out the self-consistency step. The function should return true if the result has converged and false otherwise.
- Parameters
-
diagonalizer | The solver that calls the self-consistency callback- |
- Returns
- True if the solution has converged, otherwise false.
The documentation for this class was generated from the following file: