Chaste
Release::2018.1
|
#include <SimpleTargetAreaModifier.hpp>
Public Member Functions | |
SimpleTargetAreaModifier () | |
virtual | ~SimpleTargetAreaModifier () |
virtual void | UpdateTargetAreaOfCell (const CellPtr pCell) |
double | GetGrowthDuration () |
void | SetGrowthDuration (double growthDuration) |
void | OutputSimulationModifierParameters (out_stream &rParamsFile) |
Public Member Functions inherited from AbstractTargetAreaModifier< DIM > | |
AbstractTargetAreaModifier () | |
virtual | ~AbstractTargetAreaModifier () |
virtual void | UpdateAtEndOfTimeStep (AbstractCellPopulation< DIM, DIM > &rCellPopulation) |
virtual void | SetupSolve (AbstractCellPopulation< DIM, DIM > &rCellPopulation, std::string outputDirectory) |
double | GetReferenceTargetArea () |
void | SetReferenceTargetArea (double referenceTargetArea) |
void | UpdateTargetAreas (AbstractCellPopulation< DIM, DIM > &rCellPopulation) |
Public Member Functions inherited from AbstractCellBasedSimulationModifier< DIM, DIM > | |
AbstractCellBasedSimulationModifier () | |
virtual | ~AbstractCellBasedSimulationModifier () |
virtual void | UpdateAtEndOfTimeStep (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation)=0 |
virtual void | UpdateAtEndOfOutputTimeStep (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation) |
virtual void | SetupSolve (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation, std::string outputDirectory)=0 |
virtual void | UpdateAtEndOfSolve (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation) |
void | OutputSimulationModifierInfo (out_stream &rParamsFile) |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mGrowthDuration |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from AbstractTargetAreaModifier< DIM > | |
double | mReferenceTargetArea |
A target area modifier class in which the target area of a cell grows linearly, up to mReferenceTargetArea, over a prescribed duration.
If used with a phase-based cell-cycle model (such as FixedG1GenerationalCellCycleModel), the target area of a cell increases linearly from the value 0.5*mReferenceTargetArea up to mReferenceTargetArea over the course of the cell's G1 phase.
If used with a non-phase-based cell-cycle model, the target area of a cell increases linearly from the value 0.5*mReferenceTargetArea up to mReferenceTargetArea while the cell's age is less than mGrowthDuration.
Here mReferenceTargetArea and mGrowthDuration are settable member variables. The default value of mReferenceTargetArea is 1.0 and the default value of mGrowthDuration is DOUBLE_UNSET.
Note that if mGrowthDuration is set by the user, then this value is are used to prescribe target area growth as described earlier, regardless of whether a phase-based cell-cycle model is present.
Definition at line 63 of file SimpleTargetAreaModifier.hpp.
SimpleTargetAreaModifier< DIM >::SimpleTargetAreaModifier | ( | ) |
Default constructor.
Definition at line 41 of file SimpleTargetAreaModifier.cpp.
|
virtual |
Destructor.
Definition at line 48 of file SimpleTargetAreaModifier.cpp.
double SimpleTargetAreaModifier< DIM >::GetGrowthDuration | ( | ) |
Definition at line 124 of file SimpleTargetAreaModifier.cpp.
|
virtual |
Overridden OutputSimulationModifierParameters() method. Output any simulation modifier parameters to file.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractTargetAreaModifier< DIM >.
Definition at line 137 of file SimpleTargetAreaModifier.cpp.
References AbstractTargetAreaModifier< DIM >::OutputSimulationModifierParameters().
|
inlineprivate |
Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.
archive | The boost archive. |
version | The current version of this class. |
Definition at line 75 of file SimpleTargetAreaModifier.hpp.
References SimpleTargetAreaModifier< DIM >::mGrowthDuration.
void SimpleTargetAreaModifier< DIM >::SetGrowthDuration | ( | double | growthDuration | ) |
Set mGrowthDuration.
growthDuration | the new value of mGrowthDuration |
Definition at line 130 of file SimpleTargetAreaModifier.cpp.
|
virtual |
Overridden UpdateTargetAreaOfCell() method.
pCell | pointer to the cell |
At division, daughter cells inherit the cell data array from the mother cell. Here, we assign the target area that we want daughter cells to have to cells that we know to divide in this time step.
Implements AbstractTargetAreaModifier< DIM >.
Definition at line 53 of file SimpleTargetAreaModifier.cpp.
References DOUBLE_UNSET, EXCEPTION, AbstractPhaseBasedCellCycleModel::GetG1Duration(), SimulationTime::GetTime(), AbstractPhaseBasedCellCycleModel::GetTransitCellG1Duration(), and SimulationTime::Instance().
|
friend |
Needed for serialization.
Definition at line 66 of file SimpleTargetAreaModifier.hpp.
|
private |
The duration that a cell's target area to increase from 0.5*mReferenceTargetArea to mReferenceTargetArea at the start of its cell cycle. Defaults to DOUBLE_UNSET. If this variable is set using SetGrowthDuration(), then it is used regardless of whether a phase-based cell-cycle model is used.
Definition at line 87 of file SimpleTargetAreaModifier.hpp.
Referenced by SimpleTargetAreaModifier< DIM >::serialize().