#include <PdeSolver.h>
|
| 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.
|
|
It creates a new empty PdeSolver. It will be invoked by the constructors of its children classes.
PdeSolver::~PdeSolver |
( |
| ) |
|
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
-
eq | the equations we want to solve |
X0 | the initial value |
h | size of the intervals |
ti | actual time step |
- Returns
- the solution of the PDE
Implemented in MultigridSolver.
The documentation for this class was generated from the following files: