valSPH
 All Classes Files Functions Variables
EulerExplicitSolver Class Reference

#include <EulerExplicitSolver.h>

Inheritance diagram for EulerExplicitSolver:
Inheritance graph
Collaboration diagram for EulerExplicitSolver:
Collaboration graph

Public Member Functions

 EulerExplicitSolver ()
 It creates a new empty EulerExplicitSolver.
 
vector< double > solve (Equation *eq, vector< double > X0, double h, double ti)
 It will be implemented by its children class.
 
 ~EulerExplicitSolver ()
 It destroys the EulerExplicitSolver 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

EulerExplicitSolver::EulerExplicitSolver ( )

It creates a new empty EulerExplicitSolver.

EulerExplicitSolver::~EulerExplicitSolver ( )

It destroys the EulerExplicitSolver object.

Member Function Documentation

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

It will be implemented by its children class.

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: