valSPH
 All Classes Files Functions Variables
PredictorCorrector Class Reference

#include <PredictorCorrector.h>

Inheritance diagram for PredictorCorrector:
Inheritance graph
Collaboration diagram for PredictorCorrector:
Collaboration graph

Public Member Functions

 PredictorCorrector ()
 It creates a new empty PredictorCorrector.
 
vector< double > solve (Equation *eq, vector< double > X0, double h, double ti)
 It implements a step of the predictor-corrector solver.
 
 ~PredictorCorrector ()
 It destroys the PredictorCorrector object.
 
- Public Member Functions inherited from OdeSolver
 OdeSolver ()
 It creates a new empty OdeSolver. It will be invoked by the constructors of its children classes.
 
 ~OdeSolver ()
 It destroys the OdeSolver object.
 

Constructor & Destructor Documentation

PredictorCorrector::PredictorCorrector ( )

It creates a new empty PredictorCorrector.

PredictorCorrector::~PredictorCorrector ( )

It destroys the PredictorCorrector object.

Member Function Documentation

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

It implements a step of the predictor-corrector solver.

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

Implements OdeSolver.

Here is the call graph for this function:


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