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);
230 namespace serialization
235 template<
class Archive>
236 inline void save_construct_data(
243 const boost::shared_ptr<AbstractCellMutationState> p_mutation_state = t->
GetMutationState();
244 ar & p_mutation_state;
247 ar & state_variables;
253 template<
class Archive>
254 inline 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;
double CalculateRootFunction(double time, const std::vector< double > &rY)
const std::vector< double > & rGetConstStateVariables() const
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
WntCellCycleOdeSystem(double wntLevel=0.0, boost::shared_ptr< AbstractCellMutationState > pMutationState=boost::shared_ptr< AbstractCellMutationState >(), std::vector< double > stateVariables=std::vector< double >())
double GetWntLevel() const
#define CHASTE_CLASS_EXPORT(T)
const boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
void serialize(Archive &archive, const unsigned int version)
gcov doesn't like this file...
boost::shared_ptr< AbstractCellMutationState > mpMutationState
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)