TBTK
TBTK::Solver::LinearEquationSolver Class Reference
Inheritance diagram for TBTK::Solver::LinearEquationSolver:
TBTK::Solver::Solver TBTK::Communicator

Public Types

enum  Mode { LU, ConjugateGradient }
 

Public Member Functions

 LinearEquationSolver ()
 
virtual ~LinearEquationSolver ()
 
void setMode (Mode mode)
 
std::vector< std::complex< double > > solve (const std::vector< std::complex< double >> &y)
 
- Public Member Functions inherited from TBTK::Solver::Solver
 Solver ()
 
virtual ~Solver ()
 
virtual void setModel (Model &model)
 
ModelgetModel ()
 
const ModelgetModel () const
 
- Public Member Functions inherited from TBTK::Communicator
 Communicator (bool verbose)
 
void setVerbose (bool verbose)
 
bool getVerbose () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TBTK::Communicator
static void setGlobalVerbose (bool globalVerbose)
 
static bool getGlobalVerbose ()
 

Member Enumeration Documentation

Constructor & Destructor Documentation

TBTK::Solver::LinearEquationSolver::LinearEquationSolver ( )

Constructor

virtual TBTK::Solver::LinearEquationSolver::~LinearEquationSolver ( )
virtual

Destructor.

Member Function Documentation

void TBTK::Solver::LinearEquationSolver::setMode ( Mode  mode)
inline

Set mode.

std::vector< std::complex< double > > TBTK::Solver::LinearEquationSolver::solve ( const std::vector< std::complex< double >> &  y)
inline

Solve.


The documentation for this class was generated from the following file: