WntCellCycleOdeSystem.hpp

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 WNTCELLCYCLEODESYSTEM_HPP_
00029 #define WNTCELLCYCLEODESYSTEM_HPP_
00030 
00031 #include <cmath>
00032 #include <iostream>
00033 
00034 #include "AbstractOdeSystem.hpp"
00035 #include "CellMutationStates.hpp"
00036 
00054 class WntCellCycleOdeSystem : public AbstractOdeSystem
00055 {
00056 private:
00057 
00063     double mk2d;
00065     double mk3d;
00067     double mk34d;
00069     double mk43d;
00071     double mk23d;
00073     double mad;
00075     double mJ11d;
00077     double mJ12d;
00079     double mJ13d;
00081     double mJ61d;
00083     double mJ62d;
00085     double mJ63d;
00087     double mKm1d;
00089     double mkpd;
00091     double mphi_r;
00093     double mphi_i;
00095     double mphi_j;
00097     double mphi_p;
00099     double ma2d;
00101     double ma3d;
00103     double ma4d;
00105     double ma5d;
00107     double mk16d;
00109     double mk61d;
00111     double mPhiE2F1;
00112 
00114     CellMutationState mMutationState;
00115 
00116 public:
00117 
00124     WntCellCycleOdeSystem(double WntStimulus=0.0, const CellMutationState& rMutationState=HEALTHY);
00125 
00129     ~WntCellCycleOdeSystem();
00130 
00134     void Init();
00135 
00144     void SetMutationState(const CellMutationState &rMutationState);
00145 
00152     CellMutationState& rGetMutationState();
00153 
00164     void EvaluateYDerivatives(double time, const std::vector<double> &rY, std::vector<double> &rDY);
00165 
00175     bool CalculateStoppingEvent(double time, const std::vector<double> &rY);
00176 
00186     double CalculateRootFunction(double time, const std::vector<double> &rY);
00187 
00188 };
00189 
00190 #endif /*WNTCELLCYCLEODESYSTEM_HPP_*/

Generated on Wed Mar 18 12:51:49 2009 for Chaste by  doxygen 1.5.5