Chaste
Release::2018.1
|
#include <AbstractSimpleGenerationalCellCycleModel.hpp>
Protected Member Functions | |
AbstractSimpleGenerationalCellCycleModel (const AbstractSimpleGenerationalCellCycleModel &rModel) | |
Protected Member Functions inherited from AbstractSimplePhaseBasedCellCycleModel | |
virtual void | SetG1Duration () |
AbstractSimplePhaseBasedCellCycleModel (const AbstractSimplePhaseBasedCellCycleModel &rModel) | |
Protected Member Functions inherited from AbstractPhaseBasedCellCycleModel | |
AbstractPhaseBasedCellCycleModel (const AbstractPhaseBasedCellCycleModel &rModel) | |
Protected Member Functions inherited from AbstractCellCycleModel | |
AbstractCellCycleModel (const AbstractCellCycleModel &rModel) | |
Protected Attributes | |
unsigned | mGeneration |
unsigned | mMaxTransitGenerations |
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 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
This class contains all the things common to simple generation-based cell cycle models, i.e. models in which the length of cell cycle phases are determined when the cell-cycle model is created, rather than evaluated 'on the fly' by ODEs and suchlike, and in which each cell has a 'generation'.
N.B. Whether or not the cell should actually divide may depend on Wnt / Oxygen etc. in subclasses.
Definition at line 54 of file AbstractSimpleGenerationalCellCycleModel.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 52 of file AbstractSimpleGenerationalCellCycleModel.cpp.
AbstractSimpleGenerationalCellCycleModel::AbstractSimpleGenerationalCellCycleModel | ( | ) |
Default constructor - creates an AbstractSimpleGenerationalCellCycleModel.
Definition at line 41 of file AbstractSimpleGenerationalCellCycleModel.cpp.
|
virtual |
Destructor.
Definition at line 48 of file AbstractSimpleGenerationalCellCycleModel.cpp.
unsigned AbstractSimpleGenerationalCellCycleModel::GetGeneration | ( | ) | const |
Definition at line 131 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References mGeneration.
unsigned AbstractSimpleGenerationalCellCycleModel::GetMaxTransitGenerations | ( | ) | const |
Definition at line 141 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References mMaxTransitGenerations.
|
virtual |
Set the new cell's G1 duration once it has been created after division. The duration will be based on cell type.
Reimplemented from AbstractCellCycleModel.
Definition at line 98 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References AbstractSimplePhaseBasedCellCycleModel::InitialiseDaughterCell(), mGeneration, mMaxTransitGenerations, and AbstractCellCycleModel::mpCell.
|
virtual |
Overridden OutputCellCycleModelParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractSimplePhaseBasedCellCycleModel.
Reimplemented in ExponentialG1GenerationalCellCycleModel, FixedSequenceCellCycleModel, UniformG1GenerationalCellCycleModel, and FixedG1GenerationalCellCycleModel.
Definition at line 146 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References mMaxTransitGenerations, and AbstractSimplePhaseBasedCellCycleModel::OutputCellCycleModelParameters().
Referenced by FixedG1GenerationalCellCycleModel::OutputCellCycleModelParameters(), UniformG1GenerationalCellCycleModel::OutputCellCycleModelParameters(), FixedSequenceCellCycleModel::OutputCellCycleModelParameters(), and ExponentialG1GenerationalCellCycleModel::OutputCellCycleModelParameters().
|
virtual |
Overridden ResetForDivision() method.
Reimplemented from AbstractSimplePhaseBasedCellCycleModel.
Definition at line 73 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References mGeneration, mMaxTransitGenerations, AbstractCellCycleModel::mpCell, and AbstractSimplePhaseBasedCellCycleModel::ResetForDivision().
|
inlineprivate |
Archive the cell-cycle model.
archive | the archive |
version | the current version of this class |
Definition at line 67 of file AbstractSimpleGenerationalCellCycleModel.hpp.
References mGeneration, and mMaxTransitGenerations.
void AbstractSimpleGenerationalCellCycleModel::SetGeneration | ( | unsigned | generation | ) |
Sets the cell's generation.
generation | the cell's generation |
Definition at line 126 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References mGeneration.
void AbstractSimpleGenerationalCellCycleModel::SetMaxTransitGenerations | ( | unsigned | maxTransitGenerations | ) |
Set mMaxTransitGenerations.
maxTransitGenerations | the new value of mMaxTransitGenerations |
Definition at line 136 of file AbstractSimpleGenerationalCellCycleModel.cpp.
References mMaxTransitGenerations.
|
friend |
Needed for serialization.
Definition at line 59 of file AbstractSimpleGenerationalCellCycleModel.hpp.
|
protected |
The generation of this cell (cells with a StemCellProliferativeType have a generation of 0)
Definition at line 77 of file AbstractSimpleGenerationalCellCycleModel.hpp.
Referenced by GetGeneration(), InitialiseDaughterCell(), ResetForDivision(), serialize(), and SetGeneration().
|
protected |
How many generations a transit cell lives for before becoming fully differentiated.
Definition at line 80 of file AbstractSimpleGenerationalCellCycleModel.hpp.
Referenced by GetMaxTransitGenerations(), InitialiseDaughterCell(), OutputCellCycleModelParameters(), ResetForDivision(), serialize(), and SetMaxTransitGenerations().