#include <MultigridSolver.h>
|
| | MultigridSolver () |
| | It creates a new empty multigrid solver.
|
| |
| vector< double > | solve (Equation *eq, vector< double > X0, double h, double ti) |
| | It implements a step of the multigrid solver.
|
| |
| | ~MultigridSolver () |
| | It destroys the multigrid solver object.
|
| |
| | PdeSolver () |
| | It creates a new empty PdeSolver. It will be invoked by the constructors of its children classes.
|
| |
| | ~PdeSolver () |
| | It destroys the PdeSolver object.
|
| |
| MultigridSolver::MultigridSolver |
( |
| ) |
|
It creates a new empty multigrid solver.
| MultigridSolver::~MultigridSolver |
( |
| ) |
|
It destroys the multigrid solver object.
| vector< double > MultigridSolver::solve |
( |
Equation * |
eq, |
|
|
vector< double > |
X0, |
|
|
double |
h, |
|
|
double |
ti |
|
) |
| |
|
virtual |
It implements a step of the multigrid solver.
- 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
Implements PdeSolver.
The documentation for this class was generated from the following files: