Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::SolverBase Class Referenceabstract

#include <solverbase.hpp>

Detailed Description

abstract base class for wrapped (linear) solvers

Author
Christoph Winkelmann

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
 

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

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

Generated on Fri Oct 25 2013 14:24:32 for Feel++ by doxygen 1.8.4