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,
182 #endif //_ABSTRACTONESTEPIVPODESOLVER_HPP_
#define CLASS_IS_ABSTRACT(T)
virtual OdeSolution Solve(AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rYValues, double startTime, double endTime, double timeStep, double timeSampling)
std::vector< double > mWorkingMemory
virtual ~AbstractOneStepIvpOdeSolver()
friend class boost::serialization::access
void serialize(Archive &archive, const unsigned int version)
virtual void InternalSolve(AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rCurrentYValues, std::vector< double > &rWorkingMemory, double startTime, double endTime, double timeStep)
virtual void CalculateNextYValue(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rNextYValues)=0