36 #include "EulerIvpOdeSolver.hpp"
41 std::vector<double>& rCurrentYValues,
42 std::vector<double>& rNextYValues)
52 for (
unsigned i=0; i<num_equations; i++)
55 rNextYValues[i] = rCurrentYValues[i] + timeStep*rNextYValues[i];
virtual void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)=0
unsigned GetNumberOfStateVariables() const
void CalculateNextYValue(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rNextYValues)
#define CHASTE_CLASS_EXPORT(T)