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
int main(){
Streams::out << solver.
getModel() <<
"\n";
}
Output
Model
Temperature: 300K (300 n.u.)
Chemical potential: 10eV (10 n.u.)
Statistics: FermiDirac
Basis size: Not yet constructed.
◆ Solver()
TBTK::Solver::Solver::Solver 
( 
 ) 

◆ ~Solver()
virtual TBTK::Solver::Solver::~Solver 
( 
 ) 


virtual 
◆ getModel() [1/2]
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 

inline 
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:
 /home/kristofer.bjornson/SecondQuantizationCom/TBTK/Lib/include/TBTK/Solver/Solver.h