![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#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) |
![]() | |
AbstractCellKiller (AbstractCellPopulation< SPACE_DIM > *pCellPopulation) | |
virtual | ~AbstractCellKiller () |
const AbstractCellPopulation< SPACE_DIM > * | GetCellPopulation () const |
void | OutputCellKillerInfo (out_stream &rParamsFile) |
![]() | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
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 |
Additional Inherited Members | |
![]() | |
AbstractCellPopulation< SPACE_DIM > * | mpCellPopulation |
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.
|
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(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::KillCell(), mCentre, AbstractCellKiller< 2 >::mpCellPopulation, and mRadius.
c_vector< double, 2 > RadialSloughingCellKiller::GetCentre | ( | ) | const |
double RadialSloughingCellKiller::GetRadius | ( | ) | const |
|
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 72 of file RadialSloughingCellKiller.cpp.
References mCentre, mRadius, and AbstractCellKiller< SPACE_DIM >::OutputCellKillerParameters().
|
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 69 of file RadialSloughingCellKiller.hpp.
|
friend |
Definition at line 60 of file RadialSloughingCellKiller.hpp.
|
private |
Centre of death.
Definition at line 55 of file RadialSloughingCellKiller.hpp.
Referenced by CheckAndLabelCellsForApoptosisOrDeath(), GetCentre(), and OutputCellKillerParameters().
|
private |
Radius of death.
Definition at line 58 of file RadialSloughingCellKiller.hpp.
Referenced by CheckAndLabelCellsForApoptosisOrDeath(), GetRadius(), and OutputCellKillerParameters().