#include <EulerExplicitSolver.h>
EulerExplicitSolver::EulerExplicitSolver |
( |
| ) |
|
EulerExplicitSolver::~EulerExplicitSolver |
( |
| ) |
|
vector< double > EulerExplicitSolver::solve |
( |
Equation * |
eq, |
|
|
vector< double > |
X0, |
|
|
double |
h, |
|
|
double |
ti |
|
) |
| |
|
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 ODE
Implements OdeSolver.
The documentation for this class was generated from the following files: