G+Smo
24.08.0
Geometry + Simulation Modules
|
Abstract direct solver base class.
This abstract base class defines the set of additional attributes and methods that must be implemented by all direct solvers.
Public Member Functions | |
virtual std::string | currentParams () const =0 |
Returns information about current parameters. | |
void | getSolution (gsVector< real_t > &sol, const int rank=0) const |
Returns solution vector. | |
virtual void | set (const std::string &name, const int &value)=0 |
Sets parameters. | |
void | setOptions (const gsOptionList &opt) |
Set parameters from option list. More... | |
const Vector & | solve (const Vector &b) |
Solves problem for the given a right-hand side vector. | |
virtual std::string | status () const =0 |
Returns status of the solver. | |
virtual std::string | timing () const =0 |
Returns timing of the solver. | |
virtual std::string | validParams () const =0 |
Returns information about valid parameters. | |
Protected Member Functions | |
virtual void | solveProblem ()=0 |
Solves problem. More... | |
|
inherited |
Set parameters from option list.
Sets parameters from option list.
|
protectedpure virtualinherited |
Solves problem.
Get parameters into option list void getOptions(const gsOptionList & opt);
Implemented in MLSolver, BelosSolver, AztecSolver, and AmesosSolver.