36 #include "Goldbeter1991OdeSystem.hpp"
37 #include "CellwiseOdeSystemInformation.hpp"
56 if (stateVariables != std::vector<double>())
74 const double cell = 1;
77 const double Kc = 0.5;
80 double reaction1 = cell * 0.025;
81 double reaction2 = C * cell * 0.01;
82 double reaction3 = C * cell * 0.25 * X * pow(C + 0.02, -1);
83 double reaction5 = cell * M * 1.5 * pow(0.005 + M, -1);
84 double reaction7 = cell * 0.5 * X * pow(0.005 + X, -1);
86 double V1 = C * VM1 * pow(C + Kc, -1);
87 double reaction6 = cell * V3 * (1 + -1 * X) * pow(0.005 + -1 * X + 1, -1);
88 double reaction4 = cell * (1 + -1 * M) * V1 * pow(0.005 + -1 * M + 1, -1);
91 rDY[0] = (reaction1 - reaction2 - reaction3) / cell;
92 rDY[1] = (reaction4 - reaction5) / cell;
93 rDY[2] = (reaction6 - reaction7) / cell;
99 this->mVariableNames.push_back(
"Cyclin");
100 this->mVariableUnits.push_back(
"non-dim");
101 this->mInitialConditions.push_back(0.01);
103 this->mVariableNames.push_back(
"CDC-2 Kinase");
104 this->mVariableUnits.push_back(
"non-dim");
105 this->mInitialConditions.push_back(0.01);
107 this->mVariableNames.push_back(
"Cyclin Protease");
108 this->mVariableUnits.push_back(
"non-dim");
109 this->mInitialConditions.push_back(0.01);
111 this->mInitialised =
true;
~Goldbeter1991OdeSystem()
void SetStateVariables(const std::vector< double > &rStateVariables)
Goldbeter1991OdeSystem(std::vector< double > stateVariables=std::vector< double >())
boost::shared_ptr< AbstractOdeSystemInformation > mpSystemInfo
#define CHASTE_CLASS_EXPORT(T)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)