#include <solverbase.hpp>
abstract base class for wrapped (linear) solvers
Public Types | |
Typedefs | |
| typedef double | value_type |
| typedef SolverBase | solver_type |
| typedef Vector | array_type |
Public Member Functions | |
| virtual void | setOptionsFromGetPot (GetPot const &dataFile, std::string section)=0 |
Accessors | |
| virtual double | residualNorm () const =0 |
Mutators | |
| template<typename MatrixType > | |
| virtual void | setMatrix (MatrixType const &newMatrix)=0 |
| set matrix | |
| virtual void | setTolerance (double newTolerance)=0 |
Methods | |
| virtual void | solve (array_type &x, array_type const &b)=0 |
Constructor, destructor | |
| virtual static SolverBase * | New ()=0 |
| create a new instance | |
| virtual | ~SolverBase ()=0 |
| destructor | |
|
pure virtual |
Sets options from data file for this solver.
| dataFile | GetPot object containing the options from the data file |
| section | section in the GetPot object containing the solver stuff |
1.8.5