Chaste  Release::3.4
RadialSloughingCellKiller Class Reference

#include <RadialSloughingCellKiller.hpp>

+ Inheritance diagram for RadialSloughingCellKiller:
+ Collaboration diagram for RadialSloughingCellKiller:

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)
 
- Public Member Functions inherited from AbstractCellKiller< 2 >
 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)
 

Private Attributes

c_vector< double, 2 > mCentre
 
double mRadius
 

Friends

class boost::serialization::access
 

Additional Inherited Members

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

Detailed Description

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.

Constructor & Destructor Documentation

RadialSloughingCellKiller::RadialSloughingCellKiller ( AbstractCellPopulation< 2 > *  pCellPopulation,
c_vector< double, 2 >  centre,
double  radius 
)

Constructor.

Parameters
pCellPopulationpointer to the cell population.
centrethe centre of death.
radiusthe radius of death.

Definition at line 38 of file RadialSloughingCellKiller.cpp.

Member Function Documentation

void RadialSloughingCellKiller::CheckAndLabelCellsForApoptosisOrDeath ( )
virtual
c_vector< double, 2 > RadialSloughingCellKiller::GetCentre ( ) const
Returns
mCentre.

Definition at line 45 of file RadialSloughingCellKiller.cpp.

References mCentre.

double RadialSloughingCellKiller::GetRadius ( ) const
Returns
mRadius.

Definition at line 50 of file RadialSloughingCellKiller.cpp.

References mRadius.

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.

Parameters
rParamsFilethe file stream to which the parameters are output

Implements AbstractCellKiller< 2 >.

Definition at line 71 of file RadialSloughingCellKiller.cpp.

References mCentre, mRadius, and AbstractCellKiller< SPACE_DIM >::OutputCellKillerParameters().

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

Boost Serialization method for archiving/checkpointing. Archives the object and its member variables.

Parameters
archiveThe boost archive.
versionThe current version of this class.

Definition at line 69 of file RadialSloughingCellKiller.hpp.

Member Data Documentation

c_vector<double,2> RadialSloughingCellKiller::mCentre
private
double RadialSloughingCellKiller::mRadius
private

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