00001 /* 00002 00003 Copyright (C) University of Oxford, 2005-2009 00004 00005 University of Oxford means the Chancellor, Masters and Scholars of the 00006 University of Oxford, having an administrative office at Wellington 00007 Square, Oxford OX1 2JD, UK. 00008 00009 This file is part of Chaste. 00010 00011 Chaste is free software: you can redistribute it and/or modify it 00012 under the terms of the GNU Lesser General Public License as published 00013 by the Free Software Foundation, either version 2.1 of the License, or 00014 (at your option) any later version. 00015 00016 Chaste is distributed in the hope that it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 00019 License for more details. The offer of Chaste under the terms of the 00020 License is subject to the License being interpreted in accordance with 00021 English Law and subject to any action against the University of Oxford 00022 being under the jurisdiction of the English Courts. 00023 00024 You should have received a copy of the GNU Lesser General Public License 00025 along with Chaste. If not, see <http://www.gnu.org/licenses/>. 00026 00027 */ 00028 #ifndef INGEWNTSWATCELLCYCLEODESYSTEM_HPP_ 00029 #define INGEWNTSWATCELLCYCLEODESYSTEM_HPP_ 00030 00031 #include <cmath> 00032 #include <iostream> 00033 00034 #include "AbstractOdeSystem.hpp" 00035 #include "CellMutationStates.hpp" 00036 00069 class IngeWntSwatCellCycleOdeSystem : public AbstractOdeSystem 00070 { 00071 private: 00072 00078 double mk2d; 00080 double mk3d; 00082 double mk34d; 00084 double mk43d; 00086 double mk23d; 00088 double mad; 00090 double mJ11d; 00092 double mJ12d; 00094 double mJ13d; 00096 double mJ61d; 00098 double mJ62d; 00100 double mJ63d; 00102 double mKm1d; 00104 double mkpd; 00106 double mphi_r; 00108 double mphi_i; 00110 double mphi_j; 00112 double mphi_p; 00114 double mk16d; 00116 double mk61d; 00118 double mPhiE2F1; 00119 00125 double mSa; 00127 double mSca; 00129 double mSc; 00131 double mSct; 00133 double mSd; 00135 double mSt; 00137 double mSx; 00139 double mSy; 00141 double mDa; 00143 double mDca; 00145 double mDc; 00147 double mDct; 00149 double mDd; 00151 double mDdx; 00153 double mDt; 00155 double mDu; 00157 double mDx; 00159 double mDy; 00161 double mKc; 00163 double mKd; 00165 double mKt; 00167 double mPc; 00169 double mPu; 00171 double mXiD; 00173 double mXiDx; 00175 double mXiX; 00177 double mXiC; 00178 00182 CellMutationState mMutationState; 00183 00189 unsigned mHypothesis; 00190 00191 public: 00192 00200 IngeWntSwatCellCycleOdeSystem(unsigned hypothesis, double wntLevel = 0.0, const CellMutationState& rMutationState = HEALTHY); 00201 00205 ~IngeWntSwatCellCycleOdeSystem(); 00206 00210 void Init(); 00211 00220 void SetMutationState(const CellMutationState& rMutationState); 00221 00228 CellMutationState& rGetMutationState(); 00229 00240 void EvaluateYDerivatives(double time, const std::vector<double>& rY, std::vector<double>& rDY); 00241 00250 bool CalculateStoppingEvent(double time, const std::vector<double>& rY); 00251 00261 double CalculateRootFunction(double time, const std::vector<double>& rY); 00262 00263 }; 00264 00265 #endif /*INGEWNTSWATCELLCYCLEODESYSTEM_HPP_*/