Chaste  Release::2018.1
IsolatedLabelledCellKiller< DIM > Class Template Reference

#include <IsolatedLabelledCellKiller.hpp>

+ Inheritance diagram for IsolatedLabelledCellKiller< DIM >:
+ Collaboration diagram for IsolatedLabelledCellKiller< DIM >:

Public Member Functions

 IsolatedLabelledCellKiller (AbstractCellPopulation< DIM > *pCellPopulation)
 
void CheckAndLabelCellsForApoptosisOrDeath ()
 
void OutputCellKillerParameters (out_stream &rParamsFile)
 
- Public Member Functions inherited from AbstractCellKiller< DIM >
 AbstractCellKiller (AbstractCellPopulation< SPACE_DIM > *pCellPopulation)
 
virtual ~AbstractCellKiller ()
 
const AbstractCellPopulation
< SPACE_DIM > * 
GetCellPopulation () const
 
void OutputCellKillerInfo (out_stream &rParamsFile)
 
- Public Member Functions inherited from Identifiable
virtual ~Identifiable ()
 
std::string GetIdentifier () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Friends

class TestCellKillers
 
class boost::serialization::access
 

Additional Inherited Members

- Protected Attributes inherited from AbstractCellKiller< DIM >
AbstractCellPopulation
< SPACE_DIM > * 
mpCellPopulation
 

Detailed Description

template<unsigned DIM>
class IsolatedLabelledCellKiller< DIM >

A cell killer that kills any cell: 1. that has the CellLabel property; 2. is not the only cell to have the CellLabel property; 3. shares no edges with any other cell with the CellLabel property.

Works for a VertexBasedCellPopulation only.

Definition at line 54 of file IsolatedLabelledCellKiller.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
IsolatedLabelledCellKiller< DIM >::IsolatedLabelledCellKiller ( AbstractCellPopulation< DIM > *  pCellPopulation)

Default constructor.

Parameters
pCellPopulationpointer to a cell population

Definition at line 41 of file IsolatedLabelledCellKiller.cpp.

References EXCEPTION.

Member Function Documentation

template<unsigned DIM>
void IsolatedLabelledCellKiller< DIM >::CheckAndLabelCellsForApoptosisOrDeath ( )
virtual

Kills any isolated cells with the CellLabel property (unless there is only one such cell in the population).

Implements AbstractCellKiller< DIM >.

Definition at line 51 of file IsolatedLabelledCellKiller.cpp.

References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), and VertexMesh< ELEMENT_DIM, SPACE_DIM >::GetNeighbouringElementIndices().

template<unsigned DIM>
void IsolatedLabelledCellKiller< DIM >::OutputCellKillerParameters ( out_stream &  rParamsFile)
virtual

Overridden OutputCellKillerParameters() method.

Parameters
rParamsFilethe file stream to which the parameters are output

Implements AbstractCellKiller< DIM >.

Definition at line 97 of file IsolatedLabelledCellKiller.cpp.

References AbstractCellKiller< SPACE_DIM >::OutputCellKillerParameters().

template<unsigned DIM>
template<class Archive >
void IsolatedLabelledCellKiller< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Archive the object.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 68 of file IsolatedLabelledCellKiller.hpp.

Friends And Related Function Documentation

template<unsigned DIM>
friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 60 of file IsolatedLabelledCellKiller.hpp.


The documentation for this class was generated from the following files: