DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
dftfe::linearSolver Class Referenceabstract

Abstract linear solver base class. More...

#include <linearSolver.h>

Inheritance diagram for dftfe::linearSolver:
dftfe::dealiiLinearSolver

Public Member Functions

 linearSolver ()
 Constructor.
 
virtual void solve (dealiiLinearSolverProblem &problem, const double relTolerance, const unsigned int maxNumberIterations, const int debugLevel=0, bool distributeFlag=true)=0
 Solve linear system, A*x=Rhs.
 

Detailed Description

Abstract linear solver base class.

Author
Sambit Das

Constructor & Destructor Documentation

◆ linearSolver()

dftfe::linearSolver::linearSolver ( )

Constructor.

Member Function Documentation

◆ solve()

virtual void dftfe::linearSolver::solve ( dealiiLinearSolverProblem & problem,
const double relTolerance,
const unsigned int maxNumberIterations,
const int debugLevel = 0,
bool distributeFlag = true )
pure virtual

Solve linear system, A*x=Rhs.

Parameters
problemlinearSolverProblem object (functor) to compute Rhs and A*x, and preconditioning
relToleranceTolerance (relative) required for convergence.
maxNumberIterationsMaximum number of iterations.
debugLevelDebug output level: 0 - no debug output 1 - limited debug output 2 - all debug output.

Implemented in dftfe::dealiiLinearSolver.


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