#include <PredictorCorrector.h>
PredictorCorrector::PredictorCorrector |
( |
| ) |
|
PredictorCorrector::~PredictorCorrector |
( |
| ) |
|
vector< double > PredictorCorrector::solve |
( |
Equation * |
eq, |
|
|
vector< double > |
X0, |
|
|
double |
h, |
|
|
double |
ti |
|
) |
| |
|
virtual |
It implements a step of the predictor-corrector 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 ODE
Implements OdeSolver.
The documentation for this class was generated from the following files: