#include <SloughingCellKiller.hpp>


Public Member Functions | |
| SloughingCellKiller (AbstractTissue< 2 > *pCrypt, bool sloughSides=false) | |
| bool | GetSloughSides () const |
| virtual void | TestAndLabelCellsForApoptosisOrDeath () |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
| bool | mSloughSides |
Friends | |
| class | boost::serialization::access |
The crypt width and height is taken from the cancer parameters singleton object. The crypt is assumed to start at x=0 and y=0. By default only cells are sloughed if y>crypt_height. To slough the sides call the constructor with the appropriate parameter.
Definition at line 44 of file SloughingCellKiller.hpp.
| SloughingCellKiller::SloughingCellKiller | ( | AbstractTissue< 2 > * | pCrypt, | |
| bool | sloughSides = false | |||
| ) |
Default constructor.
| pCrypt | pointer to a tissue | |
| sloughSides | whether to slough cells at the side of the crypt |
Definition at line 31 of file SloughingCellKiller.cpp.
| void SloughingCellKiller::serialize | ( | Archive & | archive, | |
| const unsigned int | version | |||
| ) | [inline, private] |
Archive the object and its member variables.
| archive | ||
| version |
Reimplemented from AbstractCellKiller< 2 >.
Definition at line 60 of file SloughingCellKiller.hpp.
References CancerParameters::Instance().
| bool SloughingCellKiller::GetSloughSides | ( | ) | const |
Definition at line 38 of file SloughingCellKiller.cpp.
References mSloughSides.
| void SloughingCellKiller::TestAndLabelCellsForApoptosisOrDeath | ( | ) | [virtual] |
Loops over cells and kills cells outside boundary.
Implements AbstractCellKiller< 2 >.
Definition at line 44 of file SloughingCellKiller.cpp.
References AbstractTissue< DIM >::Begin(), AbstractTissue< DIM >::End(), CancerParameters::GetCryptLength(), CancerParameters::GetCryptWidth(), AbstractTissue< DIM >::GetLocationOfCellCentre(), CancerParameters::Instance(), AbstractCellKiller< 2 >::mpTissue, and mSloughSides.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellKiller< 2 >.
Definition at line 52 of file SloughingCellKiller.hpp.
bool SloughingCellKiller::mSloughSides [private] |
Whether cells should be sloughed from the sides of the crypt.
Definition at line 49 of file SloughingCellKiller.hpp.
Referenced by GetSloughSides(), and TestAndLabelCellsForApoptosisOrDeath().
1.5.5