36#ifndef WNTCELLCYCLEODESYSTEM_HPP_
37#define WNTCELLCYCLEODESYSTEM_HPP_
40#include <boost/serialization/base_object.hpp>
41#include <boost/serialization/shared_ptr.hpp>
46#include "AbstractOdeSystem.hpp"
47#include "AbstractCellMutationState.hpp"
131 friend class boost::serialization::access;
138 template<
class Archive>
139 void serialize(Archive & archive,
const unsigned int version)
141 archive & boost::serialization::base_object<AbstractOdeSystem>(*
this);
154 boost::shared_ptr<AbstractCellMutationState> pMutationState=boost::shared_ptr<AbstractCellMutationState>(),
155 std::vector<double> stateVariables=std::vector<double>());
175 void SetMutationState(boost::shared_ptr<AbstractCellMutationState> pMutationState);
182 const boost::shared_ptr<AbstractCellMutationState>
GetMutationState()
const;
194 void EvaluateYDerivatives(
double time,
const std::vector<double>& rY, std::vector<double>& rDY);
230namespace serialization
235template<
class Archive>
236inline void save_construct_data(
240 const double wnt_level = t->GetWntLevel();
243 const boost::shared_ptr<AbstractCellMutationState> p_mutation_state = t->GetMutationState();
244 ar & p_mutation_state;
246 const std::vector<double>& state_variables = t->rGetConstStateVariables();
247 ar & state_variables;
253template<
class Archive>
254inline void load_construct_data(
261 boost::shared_ptr<AbstractCellMutationState> p_mutation_state;
262 ar & p_mutation_state;
264 std::vector<double> state_variables;
265 ar & state_variables;
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
boost::shared_ptr< AbstractCellMutationState > mpMutationState
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
const boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
double GetWntLevel() const
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
double CalculateRootFunction(double time, const std::vector< double > &rY)
bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
void serialize(Archive &archive, const unsigned int version)