36 #ifndef MIRAMS2010WNTODESYSTEM_HPP_
37 #define MIRAMS2010WNTODESYSTEM_HPP_
40 #include <boost/serialization/base_object.hpp>
41 #include <boost/serialization/shared_ptr.hpp>
46 #include "AbstractOdeSystem.hpp"
47 #include "AbstractCellMutationState.hpp"
87 friend class boost::serialization::access;
94 template<
class Archive>
95 void serialize(Archive & archive,
const unsigned int version)
97 archive & boost::serialization::base_object<AbstractOdeSystem>(*this);
110 boost::shared_ptr<AbstractCellMutationState> pMutationState=boost::shared_ptr<AbstractCellMutationState>(),
111 std::vector<double> stateVariables=std::vector<double>());
131 void SetMutationState(boost::shared_ptr<AbstractCellMutationState> pMutationState);
138 const boost::shared_ptr<AbstractCellMutationState>
GetMutationState()
const;
150 void EvaluateYDerivatives(
double time,
const std::vector<double>& rY, std::vector<double>& rDY);
164 namespace serialization
169 template<
class Archive>
170 inline void save_construct_data(
177 const boost::shared_ptr<AbstractCellMutationState> p_mutation_state = t->
GetMutationState();
178 ar & p_mutation_state;
181 ar & state_variables;
187 template<
class Archive>
188 inline void load_construct_data(
195 boost::shared_ptr<AbstractCellMutationState> p_mutation_state;
196 ar & p_mutation_state;
198 std::vector<double> state_variables;
199 ar & state_variables;
Mirams2010WntOdeSystem(double wntLevel=0.0, boost::shared_ptr< AbstractCellMutationState > pMutationState=boost::shared_ptr< AbstractCellMutationState >(), std::vector< double > stateVariables=std::vector< double >())
const std::vector< double > & rGetConstStateVariables() const
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
const boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
~Mirams2010WntOdeSystem()
#define CHASTE_CLASS_EXPORT(T)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
double GetWntLevel() const
boost::shared_ptr< AbstractCellMutationState > mpMutationState
void serialize(Archive &archive, const unsigned int version)