#include <RadialSloughingCellKiller.hpp>
Public Member Functions | |
RadialSloughingCellKiller (AbstractCellPopulation< 2 > *pCellPopulation, c_vector< double, 2 > centre, double radius) | |
c_vector< double, 2 > | GetCentre () const |
double | GetRadius () const |
virtual void | TestAndLabelCellsForApoptosisOrDeath () |
void | OutputCellKillerParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive> | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
c_vector< double, 2 > | mCentre |
double | mRadius |
Friends | |
class | boost::serialization::access |
Kills cells if they are outside a circle whose centre and radius can be passed in but are take default values.
Definition at line 42 of file RadialSloughingCellKiller.hpp.
RadialSloughingCellKiller::RadialSloughingCellKiller | ( | AbstractCellPopulation< 2 > * | pCellPopulation, | |
c_vector< double, 2 > | centre, | |||
double | radius | |||
) |
Constructor.
pCellPopulation | pointer to the cell population. | |
centre | the centre of death. | |
radius | the radius of death. |
Definition at line 31 of file RadialSloughingCellKiller.cpp.
void RadialSloughingCellKiller::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 from AbstractCellKiller< 2 >.
Definition at line 54 of file RadialSloughingCellKiller.hpp.
c_vector< double, 2 > RadialSloughingCellKiller::GetCentre | ( | ) | const |
double RadialSloughingCellKiller::GetRadius | ( | ) | const |
void RadialSloughingCellKiller::TestAndLabelCellsForApoptosisOrDeath | ( | ) | [virtual] |
Loop over cells and kills cells outside boundary.
Implements AbstractCellKiller< 2 >.
Definition at line 48 of file RadialSloughingCellKiller.cpp.
References AbstractCellPopulation< DIM >::Begin(), AbstractCellPopulation< DIM >::End(), AbstractCellPopulation< DIM >::GetLocationOfCellCentre(), mCentre, AbstractCellKiller< 2 >::mpCellPopulation, and mRadius.
void RadialSloughingCellKiller::OutputCellKillerParameters | ( | out_stream & | rParamsFile | ) | [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 |
Implements AbstractCellKiller< 2 >.
Definition at line 64 of file RadialSloughingCellKiller.cpp.
References mCentre, mRadius, and AbstractCellKiller< SPACE_DIM >::OutputCellKillerParameters().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellKiller< 2 >.
Definition at line 52 of file RadialSloughingCellKiller.hpp.
c_vector<double,2> RadialSloughingCellKiller::mCentre [private] |
Centre of death.
Definition at line 47 of file RadialSloughingCellKiller.hpp.
Referenced by GetCentre(), OutputCellKillerParameters(), and TestAndLabelCellsForApoptosisOrDeath().
double RadialSloughingCellKiller::mRadius [private] |
Radius of death.
Definition at line 50 of file RadialSloughingCellKiller.hpp.
Referenced by GetRadius(), OutputCellKillerParameters(), and TestAndLabelCellsForApoptosisOrDeath().