36#ifndef _ABSTRACTONESTEPIVPODESOLVER_HPP_
37#define _ABSTRACTONESTEPIVPODESOLVER_HPP_
41#include <boost/serialization/base_object.hpp>
43#include "AbstractIvpOdeSolver.hpp"
62 template<
class Archive>
63 void serialize(Archive & archive,
const unsigned int version)
66 archive & boost::serialization::base_object<AbstractIvpOdeSolver>(*
this);
88 std::vector<double>& rCurrentYValues,
89 std::vector<double>& rWorkingMemory,
107 std::vector<double>& rCurrentYValues,
108 std::vector<double>& rNextYValues)=0;
139 std::vector<double>& rYValues,
143 double timeSampling);
168 std::vector<double>& rYValues,
#define CLASS_IS_ABSTRACT(T)
virtual ~AbstractOneStepIvpOdeSolver()
void serialize(Archive &archive, const unsigned int version)
virtual void CalculateNextYValue(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rNextYValues)=0
virtual OdeSolution Solve(AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rYValues, double startTime, double endTime, double timeStep, double timeSampling)
virtual void InternalSolve(AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rCurrentYValues, std::vector< double > &rWorkingMemory, double startTime, double endTime, double timeStep)
friend class boost::serialization::access
std::vector< double > mWorkingMemory