valSPH
|
#include <RK23Solver.h>
Public Member Functions | |
RK23Solver () | |
It creates a new empty RK23Solver. | |
vector< double > | solve (Equation *eq, vector< double > X0, double h, double ti) |
It implements a step of the RK23 solver. | |
~RK23Solver () | |
It destroys the RK23Solver object. | |
![]() | |
OdeSolver () | |
It creates a new empty OdeSolver. It will be invoked by the constructors of its children classes. | |
~OdeSolver () | |
It destroys the OdeSolver object. | |
RK23Solver::RK23Solver | ( | ) |
It creates a new empty RK23Solver.
RK23Solver::~RK23Solver | ( | ) |
It destroys the RK23Solver object.
|
virtual |
It implements a step of the RK23 solver.
eq | the equations we want to solve |
X0 | the initial value |
h | size of the intervals |
ti | actual time step |
Implements OdeSolver.