Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
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::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

◆ CheckAndLabelCellsForApoptosisOrDeath()

◆ GetCentre()

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

Definition at line 45 of file RadialSloughingCellKiller.cpp.

References mCentre.

◆ GetRadius()

double RadialSloughingCellKiller::GetRadius ( ) const
Returns
mRadius.

Definition at line 50 of file RadialSloughingCellKiller.cpp.

References mRadius.

◆ OutputCellKillerParameters()

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 72 of file RadialSloughingCellKiller.cpp.

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

◆ serialize()

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.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 60 of file RadialSloughingCellKiller.hpp.

Member Data Documentation

◆ mCentre

c_vector<double,2> RadialSloughingCellKiller::mCentre
private

◆ mRadius

double RadialSloughingCellKiller::mRadius
private

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