Base class for Solvers.
More...
#include <Solver.h>
Base class for Solvers.
The Solver is a base class for other Solvers. See therefore the documentation for the Diagonalizer, BlockDiagonalizer, ArnoldiIterator, and ChebyshevExpander examples of specific production ready Solvers.
Example
using namespace TBTK;
int main(){
}
Output
Model
Temperature: 300K (300 n.u.)
Chemical potential: 10eV (10 n.u.)
Statistics: Fermi-Dirac
Basis size: Not yet constructed.
◆ Solver()
TBTK::Solver::Solver::Solver |
( |
| ) |
|
◆ ~Solver()
virtual TBTK::Solver::Solver::~Solver |
( |
| ) |
|
|
virtual |
◆ getModel() [1/2]
const Model & TBTK::Solver::Solver::getModel |
( |
| ) |
|
|
inline |
Get model.
- Returns
- The Model that the Solver is solving.
◆ getModel() [2/2]
const Model& TBTK::Solver::Solver::getModel |
( |
| ) |
const |
Get model.
- Returns
- The Model that the Solver is solving.
◆ setModel()
void TBTK::Solver::Solver::setModel |
( |
Model & |
model | ) |
|
|
inlinevirtual |
Set model to solve.
- Parameters
-
model | The Model that is to be solved. |
The documentation for this class was generated from the following file: