36 #ifndef _ABSTRACTODESYSTEM_HPP_ 37 #define _ABSTRACTODESYSTEM_HPP_ 46 #include <boost/serialization/split_member.hpp> 47 #include <boost/serialization/vector.hpp> 50 #include "AbstractParameterisedSystem.hpp" 89 friend class TestAbstractOdeSystem;
94 friend class boost::serialization::access;
101 template<
class Archive>
102 void save(Archive & archive,
const unsigned int version)
const 128 template<
class Archive>
129 void load(Archive & archive,
const unsigned int version)
134 std::vector<double> parameters;
135 archive & parameters;
139 std::vector<std::string> param_names;
140 archive & param_names;
149 BOOST_SERIALIZATION_SPLIT_MEMBER()
178 std::vector<double>& rDY)=0;
225 #endif //_ABSTRACTODESYSTEM_HPP_ void save(Archive &archive, const unsigned int version) const
std::vector< double > mStateVariables
#define CLASS_IS_ABSTRACT(T)
bool GetUseAnalyticJacobian()
virtual void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)=0
const std::vector< double > & rGetConstStateVariables() const
AbstractOdeSystem(unsigned numberOfStateVariables)
bool mUseAnalyticJacobian
virtual double CalculateRootFunction(double time, const std::vector< double > &rY)
void load(Archive &archive, const unsigned int version)
virtual ~AbstractOdeSystem()
std::vector< double > mParameters
gcov doesn't like this file...
void CheckParametersOnLoad(const std::vector< double > &rParameters, const std::vector< std::string > &rParameterNames)
unsigned mNumberOfStateVariables
const std::vector< std::string > & rGetParameterNames() const
virtual bool CalculateStoppingEvent(double time, const std::vector< double > &rY)