36 #ifndef _OWEN2011OXYGENBASEDCELLCYCLEODESYSTEM_HPP_ 37 #define _OWEN2011OXYGENBASEDCELLCYCLEODESYSTEM_HPP_ 39 #include "ChasteSerialization.hpp" 40 #include <boost/serialization/base_object.hpp> 41 #include <boost/serialization/shared_ptr.hpp> 43 #include "AbstractCellMutationState.hpp" 44 #include "CancerCellMutationState.hpp" 45 #include "AbstractOdeSystem.hpp" 46 #include "UnitCollection.hpp" 66 units::quantity<unit::pressure>
mCphi;
71 units::quantity<unit::time>
mTmin;
76 units::quantity<unit::rate>
mk7;
86 units::quantity<unit::pressure>
mCp53;
91 units::quantity<unit::rate>
mk8;
101 units::quantity<unit::dimensionless>
mJ5;
139 friend class boost::serialization::access;
146 template<
class Archive>
147 void serialize(Archive & archive,
const unsigned int version)
149 archive & boost::serialization::base_object<AbstractOdeSystem>(*this);
162 boost::shared_ptr<AbstractCellMutationState> mutation_state,
163 std::vector<double> stateVariables=std::vector<double>());
180 void EvaluateYDerivatives(
double time,
const std::vector<double>& rY, std::vector<double>& rDY);
209 void SetMutationState(boost::shared_ptr<AbstractCellMutationState> pMutationState);
214 #include "SerializationExportWrapper.hpp" 219 namespace serialization
224 template<
class Archive>
225 inline void save_construct_data(
230 ar & oxygen_concentration;
232 const boost::shared_ptr<AbstractCellMutationState> mutation_state = t->
GetMutationState();
235 const std::vector<double> state_variables = t->rGetConstStateVariables();
236 ar & state_variables;
242 template<
class Archive>
243 inline void load_construct_data(
247 units::quantity<unit::concentration> oxygen_concentration;
248 ar & oxygen_concentration;
250 boost::shared_ptr<AbstractCellMutationState> mutation_state;
253 std::vector<double> state_variables;
254 ar & state_variables;
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
boost::shared_ptr< AbstractCellMutationState > pmMutationState
units::quantity< unit::concentration > mReferenceConcentrationScale
units::quantity< unit::pressure > mCphi
units::quantity< unit::pressure > mCVEGF
units::quantity< unit::dimensionless > mJ5
units::quantity< unit::rate > mk8
void SetMutationState(boost::shared_ptr< AbstractCellMutationState > pMutationState)
Owen2011OxygenBasedCellCycleOdeSystem(units::quantity< unit::concentration > oxygenConcentration, boost::shared_ptr< AbstractCellMutationState > mutation_state, std::vector< double > stateVariables=std::vector< double >())
units::quantity< unit::rate > mk7
void serialize(Archive &archive, const unsigned int version)
units::quantity< unit::rate > mk8doubledash
units::quantity< unit::time > mTmin
units::quantity< unit::rate > mk8dash
units::quantity< unit::time > mReferenceTimeScale
~Owen2011OxygenBasedCellCycleOdeSystem()
boost::shared_ptr< AbstractCellMutationState > GetMutationState() const
units::quantity< unit::rate > mk7dash
units::quantity< unit::concentration > mOxygenConcentration
units::quantity< unit::concentration > GetOxygenConcentration() const
bool CalculateStoppingEvent(double time, const std::vector< double > &rY)
units::quantity< unit::solubility > mReferenceSolubility
units::quantity< unit::pressure > mCp53