Chaste Release::3.1
|
#include <AbstractCellKiller.hpp>
Public Member Functions | |
AbstractCellKiller (AbstractCellPopulation< SPACE_DIM > *pCellPopulation) | |
virtual | ~AbstractCellKiller () |
virtual void | CheckAndLabelCellsForApoptosisOrDeath ()=0 |
const AbstractCellPopulation < SPACE_DIM > * | GetCellPopulation () const |
void | OutputCellKillerInfo (out_stream &rParamsFile) |
virtual void | OutputCellKillerParameters (out_stream &rParamsFile)=0 |
Protected Attributes | |
AbstractCellPopulation < SPACE_DIM > * | mpCellPopulation |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
An abstract cell killer class, for use in cell-based simulations.
Definition at line 49 of file AbstractCellKiller.hpp.
AbstractCellKiller< SPACE_DIM >::AbstractCellKiller | ( | AbstractCellPopulation< SPACE_DIM > * | pCellPopulation | ) |
Constructor.
pCellPopulation | pointer to the cell population. |
Definition at line 39 of file AbstractCellKiller.cpp.
AbstractCellKiller< SPACE_DIM >::~AbstractCellKiller | ( | ) | [virtual] |
Destructor.
Definition at line 45 of file AbstractCellKiller.cpp.
virtual void AbstractCellKiller< SPACE_DIM >::CheckAndLabelCellsForApoptosisOrDeath | ( | ) | [pure virtual] |
Pure method which should call StartApoptosis() on any cell which should be about to undergo programmed death, or Kill() on any cell which should die immediately.
Implemented in ApoptoticCellKiller< SPACE_DIM >, PlaneBasedCellKiller< DIM >, RandomCellKiller< DIM >, TargetedCellKiller< DIM >, RadialSloughingCellKiller, and SloughingCellKiller< DIM >.
const AbstractCellPopulation< SPACE_DIM > * AbstractCellKiller< SPACE_DIM >::GetCellPopulation | ( | ) | const |
Get a pointer to the cell population.
Definition at line 50 of file AbstractCellKiller.cpp.
void AbstractCellKiller< SPACE_DIM >::OutputCellKillerInfo | ( | out_stream & | rParamsFile | ) |
Outputs cell killer used in the simulation to file and then calls OutputCellKillerParameters to output all relevant parameters.
rParamsFile | the file stream to which the parameters are output |
virtual void AbstractCellKiller< SPACE_DIM >::OutputCellKillerParameters | ( | out_stream & | rParamsFile | ) | [pure virtual] |
Outputs cell killer 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 ApoptoticCellKiller< SPACE_DIM >, PlaneBasedCellKiller< DIM >, RandomCellKiller< DIM >, TargetedCellKiller< DIM >, RadialSloughingCellKiller, and SloughingCellKiller< DIM >.
Referenced by AbstractCellKiller< DIM >::OutputCellKillerInfo(), SloughingCellKiller< DIM >::OutputCellKillerParameters(), TargetedCellKiller< DIM >::OutputCellKillerParameters(), RandomCellKiller< DIM >::OutputCellKillerParameters(), PlaneBasedCellKiller< DIM >::OutputCellKillerParameters(), and ApoptoticCellKiller< SPACE_DIM >::OutputCellKillerParameters().
void AbstractCellKiller< SPACE_DIM >::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Reimplemented in ApoptoticCellKiller< SPACE_DIM >, PlaneBasedCellKiller< DIM >, RandomCellKiller< DIM >, TargetedCellKiller< DIM >, RadialSloughingCellKiller, and SloughingCellKiller< DIM >.
Definition at line 61 of file AbstractCellKiller.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented in ApoptoticCellKiller< SPACE_DIM >, PlaneBasedCellKiller< DIM >, RandomCellKiller< DIM >, TargetedCellKiller< DIM >, RadialSloughingCellKiller, and SloughingCellKiller< DIM >.
Definition at line 53 of file AbstractCellKiller.hpp.
AbstractCellPopulation<SPACE_DIM>* AbstractCellKiller< SPACE_DIM >::mpCellPopulation [protected] |
The cell population.
Definition at line 69 of file AbstractCellKiller.hpp.