valSPH
 All Classes Files Functions Variables
PdeSolver Class Referenceabstract

#include <PdeSolver.h>

Inheritance diagram for PdeSolver:
Inheritance graph
Collaboration diagram for PdeSolver:
Collaboration graph

Public Member Functions

 PdeSolver ()
 It creates a new empty PdeSolver. It will be invoked by the constructors of its children classes.
 
virtual vector< double > solve (Equation *eq, vector< double > X0, double h, double ti)=0
 It will be implemented by its children class.
 
 ~PdeSolver ()
 It destroys the PdeSolver object.
 

Constructor & Destructor Documentation

PdeSolver::PdeSolver ( )

It creates a new empty PdeSolver. It will be invoked by the constructors of its children classes.

PdeSolver::~PdeSolver ( )

It destroys the PdeSolver object.

Member Function Documentation

virtual vector<double> PdeSolver::solve ( Equation eq,
vector< double >  X0,
double  h,
double  ti 
)
pure virtual

It will be implemented by its children class.

Parameters
eqthe equations we want to solve
X0the initial value
hsize of the intervals
tiactual time step
Returns
the solution of the PDE

Implemented in MultigridSolver.


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