36 #ifndef _ALARCON2004OXYGENBASEDCELLCYCLEODESYSTEM_HPP_
37 #define _ALARCON2004OXYGENBASEDCELLCYCLEODESYSTEM_HPP_
40 #include <boost/serialization/base_object.hpp>
44 #include "AbstractOdeSystem.hpp"
108 friend class boost::serialization::access;
115 template<
class Archive>
116 void serialize(Archive & archive,
const unsigned int version)
118 archive & boost::serialization::base_object<AbstractOdeSystem>(*this);
132 std::vector<double> stateVariables=std::vector<double>());
154 void EvaluateYDerivatives(
double time,
const std::vector<double>& rY, std::vector<double>& rDY);
190 namespace serialization
195 template<
class Archive>
196 inline void save_construct_data(
201 ar & oxygen_concentration;
207 ar & state_variables;
213 template<
class Archive>
214 inline void load_construct_data(
218 double oxygen_concentration;
219 ar & oxygen_concentration;
224 std::vector<double> state_variables;
225 ar & state_variables;
double GetOxygenConcentration() const
~Alarcon2004OxygenBasedCellCycleOdeSystem()
void SetIsLabelled(bool isLabelled)
const std::vector< double > & rGetConstStateVariables() const
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
#define CHASTE_CLASS_EXPORT(T)
double mOxygenConcentration
bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
Alarcon2004OxygenBasedCellCycleOdeSystem(double oxygenConcentration, bool isLabelled, std::vector< double > stateVariables=std::vector< double >())
void serialize(Archive &archive, const unsigned int version)