Chaste
Release::2018.1
|
#include <AbstractCellBasedSimulationModifier.hpp>
Public Member Functions | |
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) |
virtual void | OutputSimulationModifierParameters (out_stream &rParamsFile)=0 |
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) |
Friends | |
class | boost::serialization::access |
An abstract modifier class (to implement setup, update and finalise methods), for use in cell-based simulations.
Definition at line 48 of file AbstractCellBasedSimulationModifier.hpp.
AbstractCellBasedSimulationModifier< ELEMENT_DIM, SPACE_DIM >::AbstractCellBasedSimulationModifier | ( | ) |
Default constructor.
Definition at line 39 of file AbstractCellBasedSimulationModifier.cpp.
|
virtual |
Destructor.
Definition at line 44 of file AbstractCellBasedSimulationModifier.cpp.
void AbstractCellBasedSimulationModifier< ELEMENT_DIM, SPACE_DIM >::OutputSimulationModifierInfo | ( | out_stream & | rParamsFile | ) |
Output the modifier type used in the simulation to file and then call OutputSimulationModifierParameters() to output all relevant parameters.
rParamsFile | the file stream to which the parameters are output |
Definition at line 49 of file AbstractCellBasedSimulationModifier.cpp.
|
pure virtual |
Output any simulation modifier parameters to file.
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | the file stream to which the parameters are output |
Implemented in AbstractPdeModifier< DIM >, AbstractBoxDomainPdeModifier< DIM >, ParabolicBoxDomainPdeModifier< DIM >, TargetAreaLinearGrowthModifier< DIM >, EllipticBoxDomainPdeModifier< DIM >, ParabolicGrowingDomainPdeModifier< DIM >, AbstractTargetAreaModifier< DIM >, EllipticGrowingDomainPdeModifier< DIM >, SimpleTargetAreaModifier< DIM >, AbstractGrowingDomainPdeModifier< DIM >, DeltaNotchTrackingModifier< DIM >, and VolumeTrackingModifier< DIM >.
Definition at line 58 of file AbstractCellBasedSimulationModifier.cpp.
Referenced by VolumeTrackingModifier< DIM >::OutputSimulationModifierParameters(), DeltaNotchTrackingModifier< DIM >::OutputSimulationModifierParameters(), AbstractTargetAreaModifier< DIM >::OutputSimulationModifierParameters(), and AbstractPdeModifier< DIM >::OutputSimulationModifierParameters().
|
inlineprivate |
Serialize the object.
archive | the archive |
version | the current version of this class |
Definition at line 59 of file AbstractCellBasedSimulationModifier.hpp.
|
pure virtual |
Specify what to do in the simulation before the start of the time loop.
As this method is pure virtual, it must be overridden in subclasses.
rCellPopulation | reference to the cell population |
outputDirectory | the output directory, relative to where Chaste output is stored |
|
inlinevirtual |
Specify what to do in the simulation at the end of each output timestep, after UpdateAtEndOfTimeStep() has been called.
rCellPopulation | reference to the cell population |
Definition at line 91 of file AbstractCellBasedSimulationModifier.hpp.
|
inlinevirtual |
Specify what to do in the simulation at the end of each time loop.
rCellPopulation | reference to the cell population |
Definition at line 111 of file AbstractCellBasedSimulationModifier.hpp.
|
pure virtual |
Specify what to do in the simulation at the end of each timestep.
As this method is pure virtual, it must be overridden in subclasses.
rCellPopulation | reference to the cell population |
|
friend |
Needed for serialization.
Definition at line 51 of file AbstractCellBasedSimulationModifier.hpp.