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);
164namespace serialization
169template<
class Archive>
170inline void save_construct_data(
174 const double wnt_level = t->GetWntLevel();
177 const boost::shared_ptr<AbstractCellMutationState> p_mutation_state = t->GetMutationState();
178 ar & p_mutation_state;
180 const std::vector<double>& state_variables = t->rGetConstStateVariables();
181 ar & state_variables;
187template<
class Archive>
188inline 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;
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
void serialize(Archive &archive, const unsigned int version)
~Mirams2010WntOdeSystem()
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
double GetWntLevel() const
const boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
boost::shared_ptr< AbstractCellMutationState > mpMutationState