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);
309namespace serialization
314template<
class Archive>
315inline void save_construct_data(
319 const unsigned hypothesis = t->GetHypothesis();
322 const double wnt_level = t->GetWntLevel();
325 const boost::shared_ptr<AbstractCellMutationState> p_mutation_state = t->GetMutationState();
326 ar & p_mutation_state;
328 const std::vector<double>& state_variables = t->rGetConstStateVariables();
329 ar & state_variables;
335template<
class Archive>
336inline 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;
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
double GetWntLevel() const
const boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
void serialize(Archive &archive, const unsigned int version)
unsigned GetHypothesis() const
double CalculateRootFunction(double time, const std::vector< double > &rY)
bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
boost::shared_ptr< AbstractCellMutationState > mpMutationState
~VanLeeuwen2009WntSwatCellCycleOdeSystem()