Chaste
Release::2017.1
|
#include <StochasticWntCellCycleModel.hpp>
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
void | GenerateStochasticG2Duration () |
Private Attributes | |
double | mStochasticG2Duration |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from AbstractOdeBasedPhaseBasedCellCycleModel | |
double | mDivideTime |
double | mG2PhaseStartTime |
Protected Attributes inherited from AbstractPhaseBasedCellCycleModel | |
CellCyclePhase | mCurrentCellCyclePhase |
double | mG1Duration |
double | mMinimumGapDuration |
double | mStemCellG1Duration |
double | mTransitCellG1Duration |
double | mSDuration |
double | mG2Duration |
double | mMDuration |
Protected Attributes inherited from AbstractCellCycleModel | |
CellPtr | mpCell |
double | mBirthTime |
bool | mReadyToDivide |
unsigned | mDimension |
Protected Attributes inherited from CellCycleModelOdeHandler | |
double | mDt |
AbstractOdeSystem * | mpOdeSystem |
boost::shared_ptr< AbstractCellCycleModelOdeSolver > | mpOdeSolver |
double | mLastTime |
bool | mFinishedRunningOdes |
Wnt-dependent cell-cycle model with a stochastic G2 duration.
Note that this class uses C++'s default copying semantics, and so doesn't implement a copy constructor or operator=.
Definition at line 51 of file StochasticWntCellCycleModel.hpp.
|
protected |
Protected copy-constructor for use by CreateCellCycleModel. The only way for external code to create a copy of a cell cycle model is by calling that method, to ensure that a model of the correct subclass is created. This copy-constructor helps subclasses to ensure that all member variables are correctly copied when this happens.
This method is called by child classes to set member variables for a daughter cell upon cell division. Note that the parent cell cycle model will have had ResetForDivision() called just before CreateCellCycleModel() is called, so performing an exact copy of the parent is suitable behaviour. Any daughter-cell-specific initialisation can be done in InitialiseDaughterCell().
rModel | the cell cycle model to copy. |
Definition at line 59 of file StochasticWntCellCycleModel.cpp.
Referenced by CreateCellCycleModel().
StochasticWntCellCycleModel::StochasticWntCellCycleModel | ( | boost::shared_ptr< AbstractCellCycleModelOdeSolver > | pOdeSolver = boost::shared_ptr<AbstractCellCycleModelOdeSolver>() | ) |
The standard constructor called in tests.
pOdeSolver | An optional pointer to a cell-cycle model ODE solver object (allows the use of different ODE solvers) |
Definition at line 38 of file StochasticWntCellCycleModel.cpp.
References CellCycleModelOdeSolver< CELL_CYCLE_MODEL, ODE_SOLVER >::Instance(), and CellCycleModelOdeHandler::mpOdeSolver.
|
virtual |
Empty virtual destructor so archiving works with static libraries.
Definition at line 56 of file StochasticWntCellCycleModel.cpp.
|
virtual |
Overridden builder method to create new copies of this cell-cycle model.
Implements AbstractCellCycleModel.
Definition at line 124 of file StochasticWntCellCycleModel.cpp.
References StochasticWntCellCycleModel().
|
private |
This method introduces the stochastic element of this class.
We allow the duration of the G2 phase of the cell cycle to vary as a normal random deviate with a mean of its deterministic duration, a standard deviation of 0.9 hours, and a cutoff to ensure that it is greater than some minimum value.
Definition at line 86 of file StochasticWntCellCycleModel.cpp.
References AbstractPhaseBasedCellCycleModel::GetG2Duration(), RandomNumberGenerator::Instance(), AbstractPhaseBasedCellCycleModel::mMinimumGapDuration, mStochasticG2Duration, and RandomNumberGenerator::NormalRandomDeviate().
Referenced by Initialise(), InitialiseDaughterCell(), and ResetForDivision().
|
virtual |
Reimplemented from AbstractPhaseBasedCellCycleModel.
Definition at line 119 of file StochasticWntCellCycleModel.cpp.
References mStochasticG2Duration.
|
virtual |
Initialise the cell-cycle model at the start of a simulation.
This overridden method sets up a new WntCellCycleOdeSystem, sets the cell type according to the current beta catenin level and sets a random G2 duration.
Reimplemented from AbstractCellCycleModel.
Definition at line 107 of file StochasticWntCellCycleModel.cpp.
References GenerateStochasticG2Duration(), and WntCellCycleModel::Initialise().
|
virtual |
Set the duration of the G2 phase for the daughter cell.
Reimplemented from AbstractCellCycleModel.
Definition at line 101 of file StochasticWntCellCycleModel.cpp.
References GenerateStochasticG2Duration(), and AbstractCellCycleModel::InitialiseDaughterCell().
|
virtual |
Overridden OutputCellCycleModelParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from WntCellCycleModel.
Definition at line 129 of file StochasticWntCellCycleModel.cpp.
References CHASTE_CLASS_EXPORT, and WntCellCycleModel::OutputCellCycleModelParameters().
|
virtual |
Reset cell-cycle model by calling AbstractOdeBasedPhaseBasedCellCycleModel::ResetForDivision() and setting a new random G2 duration.
Reimplemented from AbstractWntOdeBasedCellCycleModel.
Definition at line 113 of file StochasticWntCellCycleModel.cpp.
References GenerateStochasticG2Duration(), and AbstractWntOdeBasedCellCycleModel::ResetForDivision().
|
inlineprivate |
Archive the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 64 of file StochasticWntCellCycleModel.hpp.
References SerializableSingleton< SINGLETON_CLASS >::GetSerializationWrapper(), RandomNumberGenerator::Instance(), and mStochasticG2Duration.
|
friend |
Needed for serialization.
Definition at line 56 of file StochasticWntCellCycleModel.hpp.
|
private |
The duration of the G2 phase, set stochastically.
Definition at line 76 of file StochasticWntCellCycleModel.hpp.
Referenced by GenerateStochasticG2Duration(), GetG2Duration(), and serialize().