SloughingCellKiller< DIM > Class Template Reference

#include <SloughingCellKiller.hpp>

Inherits AbstractCellKiller< DIM >.

Collaboration diagram for SloughingCellKiller< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SloughingCellKiller (AbstractCellPopulation< DIM > *pCrypt, double sloughHeight, bool sloughSides=false, double sloughWidth=10.0)
bool GetSloughSides () const
double GetSloughHeight () const
double GetSloughWidth () 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

bool mSloughSides
double mSloughHeight
double mSloughWidth

Friends

class boost::serialization::access

Detailed Description

template<unsigned DIM>
class SloughingCellKiller< DIM >

A cell killer that kills cells if they are outside the domain. The domain is assumed to start at x=0 and y=0. By default only cells are sloughed if y>mSloughLength. To slough the sides call the constructor with the appropriate parameter.

Definition at line 44 of file SloughingCellKiller.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
SloughingCellKiller< DIM >::SloughingCellKiller ( AbstractCellPopulation< DIM > *  pCrypt,
double  sloughHeight,
bool  sloughSides = false,
double  sloughWidth = 10.0 
) [inline]

Default constructor.

Parameters:
pCrypt pointer to a cell population
sloughHeight the height at which to slough from the domain
sloughSides whether to slough cells at the side of the domain
sloughWidth the width of the domain (note slough on left and right)

Definition at line 33 of file SloughingCellKiller.cpp.

References SloughingCellKiller< DIM >::mSloughHeight, and SloughingCellKiller< DIM >::mSloughWidth.


Member Function Documentation

template<unsigned DIM>
double SloughingCellKiller< DIM >::GetSloughHeight (  )  const [inline]
Returns:
mSloughHeight.

Definition at line 51 of file SloughingCellKiller.cpp.

References SloughingCellKiller< DIM >::mSloughHeight.

template<unsigned DIM>
bool SloughingCellKiller< DIM >::GetSloughSides (  )  const [inline]
Returns:
mSloughSides.

Definition at line 45 of file SloughingCellKiller.cpp.

References SloughingCellKiller< DIM >::mSloughSides.

template<unsigned DIM>
double SloughingCellKiller< DIM >::GetSloughWidth (  )  const [inline]
Returns:
mSloughWidth.

Definition at line 57 of file SloughingCellKiller.cpp.

References SloughingCellKiller< DIM >::mSloughWidth.

template<unsigned DIM>
void SloughingCellKiller< DIM >::OutputCellKillerParameters ( out_stream &  rParamsFile  )  [inline, virtual]

Outputs cell killer parameters to file

As this method is pure virtual, it must be overridden in subclasses.

Parameters:
rParamsFile the file stream to which the parameters are output

Implements AbstractCellKiller< DIM >.

Definition at line 112 of file SloughingCellKiller.cpp.

References SloughingCellKiller< DIM >::mSloughHeight, SloughingCellKiller< DIM >::mSloughSides, and SloughingCellKiller< DIM >::mSloughWidth.

template<unsigned DIM>
template<class Archive >
void SloughingCellKiller< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the object.

Parameters:
archive the archive
version the current version of this class

Reimplemented from AbstractCellKiller< DIM >.

Definition at line 72 of file SloughingCellKiller.hpp.

template<unsigned DIM>
void SloughingCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath (  )  [inline, virtual]

Friends And Related Function Documentation

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

Needed for serialization.

Reimplemented from AbstractCellKiller< DIM >.

Definition at line 64 of file SloughingCellKiller.hpp.


Member Data Documentation

template<unsigned DIM>
double SloughingCellKiller< DIM >::mSloughHeight [private]

The height of the domain, non-dimensionalised with cell length. This parameter determines when cells are sloughed from the domain.

Definition at line 55 of file SloughingCellKiller.hpp.

Referenced by SloughingCellKiller< DIM >::GetSloughHeight(), SloughingCellKiller< DIM >::OutputCellKillerParameters(), SloughingCellKiller< DIM >::SloughingCellKiller(), and SloughingCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath().

template<unsigned DIM>
bool SloughingCellKiller< DIM >::mSloughSides [private]
template<unsigned DIM>
double SloughingCellKiller< DIM >::mSloughWidth [private]

The width of the domain, non-dimensionalised with cell length. This determines when cells are sloughed from sides of the domain in 2D.

Definition at line 61 of file SloughingCellKiller.hpp.

Referenced by SloughingCellKiller< DIM >::GetSloughWidth(), SloughingCellKiller< DIM >::OutputCellKillerParameters(), SloughingCellKiller< DIM >::SloughingCellKiller(), and SloughingCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath().


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:07:48 2011 for Chaste by  doxygen 1.6.3