EulerIvpOdeSolver Class Reference

#include <EulerIvpOdeSolver.hpp>

Inheritance diagram for EulerIvpOdeSolver:

Inheritance graph
[legend]
Collaboration diagram for EulerIvpOdeSolver:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

void CalculateNextYValue (AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &currentYValues, std::vector< double > &nextYValues)


Detailed Description

Concrete EulerIvpOdeSolver class.

Definition at line 42 of file EulerIvpOdeSolver.hpp.


Member Function Documentation

void EulerIvpOdeSolver::CalculateNextYValue ( AbstractOdeSystem pAbstractOdeSystem,
double  timeStep,
double  time,
std::vector< double > &  currentYValues,
std::vector< double > &  nextYValues 
) [protected, virtual]

Concrete EulerIvpOdeSolver class. Solves a system of ODEs using the Forward Euler method

To be used in the form:

EulerIvpOdeSolver mySolver;

OdeSolution solution=mySolver.Solve(pMyOdeSystem, yInit, StartTime, EndTime, TimeStep, SamplingTime);

See documentation for AbstractOneStepIvpOdeSolver::Solve()

Implements AbstractOneStepIvpOdeSolver.

Definition at line 54 of file EulerIvpOdeSolver.cpp.

References AbstractOdeSystem::EvaluateYDerivatives(), and AbstractOdeSystem::GetNumberOfStateVariables().


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

Generated on Wed Mar 18 12:52:29 2009 for Chaste by  doxygen 1.5.5