Chaste Release::3.1
|
#include <Mirams2010WntOdeSystem.hpp>
Public Member Functions | |
Mirams2010WntOdeSystem (double wntLevel=0.0, boost::shared_ptr< AbstractCellMutationState > pMutationState=boost::shared_ptr< AbstractCellMutationState >(), std::vector< double > stateVariables=std::vector< double >()) | |
~Mirams2010WntOdeSystem () | |
void | Init () |
void | SetMutationState (boost::shared_ptr< AbstractCellMutationState > pMutationState) |
const boost::shared_ptr < AbstractCellMutationState > | GetMutationState () const |
void | EvaluateYDerivatives (double time, const std::vector< double > &rY, std::vector< double > &rDY) |
double | GetWntLevel () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mA |
double | mB |
double | mC |
double | mD |
double | mE |
double | mF |
boost::shared_ptr < AbstractCellMutationState > | mpMutationState |
double | mWntLevel |
Friends | |
class | boost::serialization::access |
Represents the Mirams et al. system of ODEs, based on Swat et al. (2004) [doi:10.1093/bioinformatics/bth110] and a simple Wnt model (unpublished)
The variables are
6. b1 = Beta-Catenin (from 1st allele) 7. b2 = Beta-Catenin (from 1st allele) 8. WntLevel
Definition at line 67 of file Mirams2010WntOdeSystem.hpp.
Mirams2010WntOdeSystem::Mirams2010WntOdeSystem | ( | double | wntLevel = 0.0 , |
boost::shared_ptr< AbstractCellMutationState > | pMutationState = boost::shared_ptr<AbstractCellMutationState>() , |
||
std::vector< double > | stateVariables = std::vector<double>() |
||
) |
Constructor.
wntLevel | is a non-dimensional Wnt value between 0 and 1. This sets up the Wnt pathway in its steady state. |
pMutationState | optional mutation state (affects the ODE system) |
stateVariables | optional initial conditions for state variables (only used in archiving) |
State variables.
0. b1 = Beta-Catenin (1st allele's copy) 1. b2 = Beta-Catenin (2nd allele's copy) 2. wntLevel
Definition at line 38 of file Mirams2010WntOdeSystem.cpp.
References Init(), mA, mB, mC, mD, mF, mpMutationState, AbstractUntemplatedParameterisedSystem::mpSystemInfo, AbstractParameterisedSystem< std::vector< double > >::SetDefaultInitialCondition(), and AbstractParameterisedSystem< std::vector< double > >::SetStateVariables().
Mirams2010WntOdeSystem::~Mirams2010WntOdeSystem | ( | ) |
Destructor.
Definition at line 89 of file Mirams2010WntOdeSystem.cpp.
void Mirams2010WntOdeSystem::EvaluateYDerivatives | ( | double | time, |
const std::vector< double > & | rY, | ||
std::vector< double > & | rDY | ||
) | [virtual] |
Compute the RHS of the WntCellCycle system of ODEs.
Returns a vector representing the RHS of the ODEs at each time step, y' = [y1' ... yn']. An ODE solver will call this function repeatedly to solve for y = [y1 ... yn].
time | used to evaluate the RHS. |
rY | value of the solution vector used to evaluate the RHS. |
rDY | filled in with the resulting derivatives (using Alarcons et al. (2004) system of equations). |
Implements AbstractOdeSystem.
Definition at line 105 of file Mirams2010WntOdeSystem.cpp.
const boost::shared_ptr< AbstractCellMutationState > Mirams2010WntOdeSystem::GetMutationState | ( | ) | const |
Called by the archive function on the Wnt cell-cycle model.
Definition at line 150 of file Mirams2010WntOdeSystem.cpp.
References mpMutationState.
double Mirams2010WntOdeSystem::GetWntLevel | ( | ) | const |
Get method for mWntLevel.
Definition at line 173 of file Mirams2010WntOdeSystem.cpp.
References mWntLevel.
void Mirams2010WntOdeSystem::Init | ( | ) |
Initialise parameter values.
Definition at line 94 of file Mirams2010WntOdeSystem.cpp.
References mA, mB, mC, mD, mE, and mF.
Referenced by Mirams2010WntOdeSystem().
void Mirams2010WntOdeSystem::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 102 of file Mirams2010WntOdeSystem.hpp.
void Mirams2010WntOdeSystem::SetMutationState | ( | boost::shared_ptr< AbstractCellMutationState > | pMutationState | ) |
Set the mutation state of the cell.
This should be called by the relevant cell-cycle model before any solving of the ODE system (as it is used to evaluate the Y derivatives).
pMutationState | the mutation state. |
Definition at line 84 of file Mirams2010WntOdeSystem.cpp.
References mpMutationState.
double Mirams2010WntOdeSystem::mA [private] |
Parameters for the Mirams et al. (2010) model Dimensional parameter a.
Definition at line 76 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), Init(), and Mirams2010WntOdeSystem().
double Mirams2010WntOdeSystem::mB [private] |
Dimensional parameter b.
Definition at line 78 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), Init(), and Mirams2010WntOdeSystem().
double Mirams2010WntOdeSystem::mC [private] |
Dimensional parameter c.
Definition at line 80 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), Init(), and Mirams2010WntOdeSystem().
double Mirams2010WntOdeSystem::mD [private] |
Dimensional parameter d.
Definition at line 82 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), Init(), and Mirams2010WntOdeSystem().
double Mirams2010WntOdeSystem::mE [private] |
Dimensional parameter e.
Definition at line 84 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), and Init().
double Mirams2010WntOdeSystem::mF [private] |
Dimensional parameter f.
Definition at line 86 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), Init(), and Mirams2010WntOdeSystem().
boost::shared_ptr<AbstractCellMutationState> Mirams2010WntOdeSystem::mpMutationState [private] |
The mutation state of the cell (this affects the ODE system).
Definition at line 89 of file Mirams2010WntOdeSystem.hpp.
Referenced by EvaluateYDerivatives(), GetMutationState(), Mirams2010WntOdeSystem(), and SetMutationState().
double Mirams2010WntOdeSystem::mWntLevel [private] |
The Wnt level (this affects the ODE system).
Definition at line 92 of file Mirams2010WntOdeSystem.hpp.
Referenced by GetWntLevel().