Feel++  0.91.4
Public Member Functions | List of all members
Feel::SolverBase Class Referenceabstract

abstract base class for wrapped (linear) solvers More...

#include <solverbase.hpp>

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 SolverBaseNew ()=0
 create a new instance
 
virtual ~SolverBase ()=0
 destructor
 

Detailed Description

abstract base class for wrapped (linear) solvers

Author
Christoph Winkelmann

Member Function Documentation

virtual void Feel::SolverBase::setOptionsFromGetPot ( GetPot const &  dataFile,
std::string  section 
)
pure virtual

Sets options from data file for this solver.

Parameters
dataFileGetPot object containing the options from the data file
sectionsection in the GetPot object containing the solver stuff