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;
gcov doesn't like this file...
#define CLASS_IS_ABSTRACT(T)
virtual double CalculateRootFunction(double time, const std::vector< double > &rY)
const std::vector< double > & rGetConstStateVariables() const
void load(Archive &archive, const unsigned int version)
virtual void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)=0
void save(Archive &archive, const unsigned int version) const
bool GetUseAnalyticJacobian()
virtual bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
bool mUseAnalyticJacobian
void CheckParametersOnLoad(const std::vector< double > &rParameters, const std::vector< std::string > &rParameterNames)
std::vector< double > mStateVariables
std::vector< double > mParameters
unsigned mNumberOfStateVariables
const std::vector< std::string > & rGetParameterNames() const