36 #ifndef VANLEEUWEN2009WNTSWATCELLCYCLEODESYSTEM_HPP_
37 #define VANLEEUWEN2009WNTSWATCELLCYCLEODESYSTEM_HPP_
40 #include <boost/serialization/base_object.hpp>
41 #include <boost/serialization/shared_ptr.hpp>
46 #include "AbstractOdeSystem.hpp"
47 #include "AbstractCellMutationState.hpp"
204 friend class boost::serialization::access;
211 template<
class Archive>
212 void serialize(Archive & archive,
const unsigned int version)
214 archive & boost::serialization::base_object<AbstractOdeSystem>(*this);
228 double wntLevel = 0.0,
229 boost::shared_ptr<AbstractCellMutationState> pMutationState=boost::shared_ptr<AbstractCellMutationState>(),
230 std::vector<double> stateVariables=std::vector<double>());
250 void SetMutationState(boost::shared_ptr<AbstractCellMutationState> pMutationState);
257 const boost::shared_ptr<AbstractCellMutationState>
GetMutationState()
const;
269 void EvaluateYDerivatives(
double time,
const std::vector<double>& rY, std::vector<double>& rDY);
309 namespace serialization
314 template<
class Archive>
315 inline void save_construct_data(
325 const boost::shared_ptr<AbstractCellMutationState> p_mutation_state = t->
GetMutationState();
326 ar & p_mutation_state;
329 ar & state_variables;
335 template<
class Archive>
336 inline void load_construct_data(
346 boost::shared_ptr<AbstractCellMutationState> p_mutation_state;
347 ar & p_mutation_state;
349 std::vector<double> state_variables;
350 ar & state_variables;
VanLeeuwen2009WntSwatCellCycleOdeSystem(unsigned hypothesis, double wntLevel=0.0, boost::shared_ptr< AbstractCellMutationState > pMutationState=boost::shared_ptr< AbstractCellMutationState >(), std::vector< double > stateVariables=std::vector< double >())
boost::shared_ptr< AbstractCellMutationState > mpMutationState
unsigned GetHypothesis() const
const std::vector< double > & rGetConstStateVariables() const
void serialize(Archive &archive, const unsigned int version)
~VanLeeuwen2009WntSwatCellCycleOdeSystem()
const boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
double CalculateRootFunction(double time, const std::vector< double > &rY)
bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
double GetWntLevel() const
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
#define CHASTE_CLASS_EXPORT(T)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)