#include <PlaneBasedCellKiller.hpp>
Inherits AbstractCellKiller< DIM >.
Public Member Functions | |
PlaneBasedCellKiller (AbstractCellPopulation< DIM > *pCellPopulation, c_vector< double, DIM > point, c_vector< double, DIM > normal) | |
const c_vector< double, DIM > & | rGetPointOnPlane () const |
const c_vector< double, DIM > & | rGetNormalToPlane () 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, DIM > | mPointOnPlane |
c_vector< double, DIM > | mNormalToPlane |
Friends | |
class | boost::serialization::access |
A cell killer that kills cells if they are outside the domain. defined by a point, mPointOnPlane, and an outward pointing normal, mNormalToPlane. Works for all CellPopulations.
Definition at line 44 of file PlaneBasedCellKiller.hpp.
PlaneBasedCellKiller< DIM >::PlaneBasedCellKiller | ( | AbstractCellPopulation< DIM > * | pCellPopulation, | |
c_vector< double, DIM > | point, | |||
c_vector< double, DIM > | normal | |||
) | [inline] |
Default constructor.
pCellPopulation | pointer to a cell population | |
point | point on the plane which nodes cannot cross | |
normal | the outward pointing unit normal to the boundary plane |
Definition at line 32 of file PlaneBasedCellKiller.cpp.
References PlaneBasedCellKiller< DIM >::mNormalToPlane.
void PlaneBasedCellKiller< DIM >::OutputCellKillerParameters | ( | out_stream & | rParamsFile | ) | [inline, virtual] |
Overridden OutputCellKillerParameters() method.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractCellKiller< DIM >.
Definition at line 71 of file PlaneBasedCellKiller.cpp.
References PlaneBasedCellKiller< DIM >::mNormalToPlane, and PlaneBasedCellKiller< DIM >::mPointOnPlane.
const c_vector< double, DIM > & PlaneBasedCellKiller< DIM >::rGetNormalToPlane | ( | ) | const [inline] |
Definition at line 49 of file PlaneBasedCellKiller.cpp.
References PlaneBasedCellKiller< DIM >::mNormalToPlane.
const c_vector< double, DIM > & PlaneBasedCellKiller< DIM >::rGetPointOnPlane | ( | ) | const [inline] |
Definition at line 43 of file PlaneBasedCellKiller.cpp.
References PlaneBasedCellKiller< DIM >::mPointOnPlane.
void PlaneBasedCellKiller< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the object.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractCellKiller< DIM >.
Definition at line 67 of file PlaneBasedCellKiller.hpp.
void PlaneBasedCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath | ( | ) | [inline, virtual] |
Loops over cells and kills cells outside boundary.
Implements AbstractCellKiller< DIM >.
Definition at line 55 of file PlaneBasedCellKiller.cpp.
References AbstractCellPopulation< DIM >::Begin(), AbstractCellPopulation< DIM >::End(), AbstractCellPopulation< DIM >::GetLocationOfCellCentre(), PlaneBasedCellKiller< DIM >::mNormalToPlane, AbstractCellKiller< DIM >::mpCellPopulation, and PlaneBasedCellKiller< DIM >::mPointOnPlane.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellKiller< DIM >.
Definition at line 59 of file PlaneBasedCellKiller.hpp.
c_vector<double, DIM> PlaneBasedCellKiller< DIM >::mNormalToPlane [private] |
The outward pointing unit normal to the boundary plane.
Definition at line 56 of file PlaneBasedCellKiller.hpp.
Referenced by PlaneBasedCellKiller< DIM >::OutputCellKillerParameters(), PlaneBasedCellKiller< DIM >::PlaneBasedCellKiller(), PlaneBasedCellKiller< DIM >::rGetNormalToPlane(), and PlaneBasedCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath().
c_vector<double, DIM> PlaneBasedCellKiller< DIM >::mPointOnPlane [private] |
A point on the plane which nodes cannot cross.
Definition at line 51 of file PlaneBasedCellKiller.hpp.
Referenced by PlaneBasedCellKiller< DIM >::OutputCellKillerParameters(), PlaneBasedCellKiller< DIM >::rGetPointOnPlane(), and PlaneBasedCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath().