Chaste Release::3.1
|
#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 | CheckAndLabelCellsForApoptosisOrDeath () |
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 |
Radial sloughing cell killer for use with the crypt projection model.
Kills cells if they are outside a circle whose centre and radius can be passed in but are take default values.
Definition at line 50 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 38 of file RadialSloughingCellKiller.cpp.
void RadialSloughingCellKiller::CheckAndLabelCellsForApoptosisOrDeath | ( | ) | [virtual] |
Loop over cells and kills cells outside boundary.
Implements AbstractCellKiller< 2 >.
Definition at line 55 of file RadialSloughingCellKiller.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), mCentre, AbstractCellKiller< 2 >::mpCellPopulation, and mRadius.
c_vector< double, 2 > RadialSloughingCellKiller::GetCentre | ( | ) | const |
double RadialSloughingCellKiller::GetRadius | ( | ) | const |
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 71 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 62 of file RadialSloughingCellKiller.hpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellKiller< 2 >.
Definition at line 60 of file RadialSloughingCellKiller.hpp.
c_vector<double,2> RadialSloughingCellKiller::mCentre [private] |
Centre of death.
Definition at line 55 of file RadialSloughingCellKiller.hpp.
Referenced by CheckAndLabelCellsForApoptosisOrDeath(), GetCentre(), and OutputCellKillerParameters().
double RadialSloughingCellKiller::mRadius [private] |
Radius of death.
Definition at line 58 of file RadialSloughingCellKiller.hpp.
Referenced by CheckAndLabelCellsForApoptosisOrDeath(), GetRadius(), and OutputCellKillerParameters().