#include <SimpleWntCellCycleModel.hpp>
Public Member Functions | |
SimpleWntCellCycleModel (unsigned dimension, bool useCellTypeDependentG1Duration=false) | |
void | UpdateCellCyclePhase () |
void | ResetForDivision () |
void | InitialiseDaughterCell () |
AbstractCellCycleModel * | CreateCellCycleModel () |
unsigned | GetDimension () |
Protected Member Functions | |
void | SetG1Duration () |
Private Member Functions | |
template<class Archive> | |
void | serialize (Archive &archive, const unsigned int version) |
double | GetWntLevel () |
WntConcentrationType | GetWntType () |
Private Attributes | |
bool | mUseCellTypeDependentG1Duration |
unsigned | mDimension |
Friends | |
class | boost::serialization::access |
Definition at line 39 of file SimpleWntCellCycleModel.hpp.
SimpleWntCellCycleModel::SimpleWntCellCycleModel | ( | unsigned | dimension, | |
bool | useCellTypeDependentG1Duration = false | |||
) |
Constructor - just a default, mBirthTime is now set in the AbstractCellCycleModel class. mG1Duration is set very high, it is set for the individual cells when InitialiseDaughterCell is called.
dimension | the spatial dimension (needed by the templated class WntConcentration) | |
useCellTypeDependentG1Duration | Whether the duration of the G1 phase is dependent on cell type |
Definition at line 31 of file SimpleWntCellCycleModel.cpp.
Referenced by CreateCellCycleModel().
void SimpleWntCellCycleModel::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the cell cycle model, never used directly - boost uses this.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 52 of file SimpleWntCellCycleModel.hpp.
References RandomNumberGenerator::Instance(), mDimension, and mUseCellTypeDependentG1Duration.
double SimpleWntCellCycleModel::GetWntLevel | ( | ) | [private] |
Get the Wnt level experienced by the cell.
Definition at line 88 of file SimpleWntCellCycleModel.cpp.
References WntConcentration< DIM >::GetWntLevel(), WntConcentration< DIM >::Instance(), mDimension, and AbstractCellCycleModel::mpCell.
Referenced by UpdateCellCyclePhase().
WntConcentrationType SimpleWntCellCycleModel::GetWntType | ( | ) | [private] |
Get the type of Wnt concentration (LINEAR, RADIAL, or NONE). This affects how the cell cycle phase is updated.
Definition at line 120 of file SimpleWntCellCycleModel.cpp.
References WntConcentration< DIM >::GetType(), WntConcentration< DIM >::Instance(), and mDimension.
Referenced by InitialiseDaughterCell(), and UpdateCellCyclePhase().
void SimpleWntCellCycleModel::SetG1Duration | ( | ) | [protected, virtual] |
Stochastically set the G1 duration. The G1 duration is taken from a normal distribution whose mean is the G1 duration given in TissueConfig for the cell type and whose standard deviation is 1.
Called on cell creation at the start of a simulation, and for both parent and daughter cells at cell division.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 50 of file SimpleWntCellCycleModel.cpp.
References TissueCell::GetCellType(), TissueConfig::GetMinimumGapDuration(), TissueConfig::GetStemCellG1Duration(), TissueConfig::GetTransitCellG1Duration(), RandomNumberGenerator::Instance(), TissueConfig::Instance(), AbstractCellCycleModel::mG1Duration, AbstractCellCycleModel::mpCell, mUseCellTypeDependentG1Duration, and RandomNumberGenerator::NormalRandomDeviate().
void SimpleWntCellCycleModel::UpdateCellCyclePhase | ( | ) | [virtual] |
Overridden UpdateCellCyclePhase() method.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 150 of file SimpleWntCellCycleModel.cpp.
References TissueCell::GetMutationState(), GetWntLevel(), TissueConfig::GetWntStemThreshold(), TissueConfig::GetWntTransitThreshold(), GetWntType(), TissueConfig::Instance(), AbstractCellCycleModel::mCurrentCellCyclePhase, AbstractCellCycleModel::mpCell, TissueCell::SetCellType(), and AbstractSimpleCellCycleModel::UpdateCellCyclePhase().
void SimpleWntCellCycleModel::ResetForDivision | ( | ) | [virtual] |
Overridden ResetForDivision() method.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 206 of file SimpleWntCellCycleModel.cpp.
References AbstractSimpleCellCycleModel::ResetForDivision().
void SimpleWntCellCycleModel::InitialiseDaughterCell | ( | ) | [virtual] |
Overridden InitialiseDaughterCell() method.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 212 of file SimpleWntCellCycleModel.cpp.
References GetWntType(), AbstractSimpleCellCycleModel::InitialiseDaughterCell(), AbstractCellCycleModel::mpCell, and TissueCell::SetCellType().
AbstractCellCycleModel * SimpleWntCellCycleModel::CreateCellCycleModel | ( | ) | [virtual] |
Overridden builder method to create new copies of this cell cycle model.
Implements AbstractCellCycleModel.
Definition at line 38 of file SimpleWntCellCycleModel.cpp.
References SimpleWntCellCycleModel().
unsigned SimpleWntCellCycleModel::GetDimension | ( | ) |
Get the spatial dimension.
Definition at line 44 of file SimpleWntCellCycleModel.cpp.
References mDimension.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 44 of file SimpleWntCellCycleModel.hpp.
bool SimpleWntCellCycleModel::mUseCellTypeDependentG1Duration [private] |
Whether to use different mean G1 durations for different cell types. For use in SetG1Duration().
Definition at line 67 of file SimpleWntCellCycleModel.hpp.
Referenced by serialize(), and SetG1Duration().
unsigned SimpleWntCellCycleModel::mDimension [private] |
The spatial dimension (needed by the templated class WntConcentration).
Definition at line 72 of file SimpleWntCellCycleModel.hpp.
Referenced by GetDimension(), GetWntLevel(), GetWntType(), and serialize().