Chaste
Release::2018.1
|
#include <AbstractTargetAreaModifier.hpp>
Public Member Functions | |
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) |
virtual void | UpdateTargetAreaOfCell (const CellPtr pCell)=0 |
virtual void | OutputSimulationModifierParameters (out_stream &rParamsFile) |
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 |
Protected Attributes | |
double | mReferenceTargetArea |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
A modifier class in which the target area property of each cell is updated. It is used to implement growth in vertex-based simulations.
Definition at line 48 of file AbstractTargetAreaModifier.hpp.
AbstractTargetAreaModifier< DIM >::AbstractTargetAreaModifier | ( | ) |
Default constructor.
Definition at line 39 of file AbstractTargetAreaModifier.cpp.
|
virtual |
Destructor.
Definition at line 46 of file AbstractTargetAreaModifier.cpp.
double AbstractTargetAreaModifier< DIM >::GetReferenceTargetArea | ( | ) |
Get the reference target area.
Definition at line 79 of file AbstractTargetAreaModifier.cpp.
|
virtual |
Overridden OutputSimulationModifierParameters() method. Output any simulation modifier parameters to file.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractCellBasedSimulationModifier< DIM, DIM >.
Reimplemented in TargetAreaLinearGrowthModifier< DIM >, and SimpleTargetAreaModifier< DIM >.
Definition at line 92 of file AbstractTargetAreaModifier.cpp.
References AbstractCellBasedSimulationModifier< ELEMENT_DIM, SPACE_DIM >::OutputSimulationModifierParameters().
Referenced by SimpleTargetAreaModifier< DIM >::OutputSimulationModifierParameters(), and TargetAreaLinearGrowthModifier< 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 60 of file AbstractTargetAreaModifier.hpp.
References AbstractTargetAreaModifier< DIM >::mReferenceTargetArea.
void AbstractTargetAreaModifier< DIM >::SetReferenceTargetArea | ( | double | referenceTargetArea | ) |
Set the reference target area. The standard value is 1.0.
referenceTargetArea | the new value of mReferenceTargetArea |
Definition at line 85 of file AbstractTargetAreaModifier.cpp.
|
virtual |
Overridden SetupSolve() method.
Specify what to do in the simulation before the start of the time loop.
rCellPopulation | reference to the cell population |
outputDirectory | the output directory, relative to where Chaste output is stored |
Definition at line 57 of file AbstractTargetAreaModifier.cpp.
|
virtual |
Overridden UpdateAtEndOfTimeStep() method.
Specify what to do in the simulation at the end of each time step.
rCellPopulation | reference to the cell population |
Definition at line 51 of file AbstractTargetAreaModifier.cpp.
|
pure virtual |
Helper method to update the target area property of an individual cell.
As this method is pure virtual, it must be overridden in subclasses.
pCell | pointer to the cell |
Implemented in TargetAreaLinearGrowthModifier< DIM >, and SimpleTargetAreaModifier< DIM >.
void AbstractTargetAreaModifier< DIM >::UpdateTargetAreas | ( | AbstractCellPopulation< DIM, DIM > & | rCellPopulation | ) |
Helper method to update the target area property of all cells in the population.
rCellPopulation | reference to the cell population |
Definition at line 67 of file AbstractTargetAreaModifier.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::rGetCells().
|
friend |
Needed for serialization.
Definition at line 51 of file AbstractTargetAreaModifier.hpp.
|
protected |
A reference area. Usually this is the target area of mature cells in the population.
Definition at line 71 of file AbstractTargetAreaModifier.hpp.
Referenced by AbstractTargetAreaModifier< DIM >::serialize().