Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
PlaneBasedCellKiller< DIM > Class Template Reference

#include <PlaneBasedCellKiller.hpp>

+ Inheritance diagram for PlaneBasedCellKiller< DIM >:
+ Collaboration diagram for PlaneBasedCellKiller< 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 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)
 

Private Attributes

c_vector< double, DIM > mPointOnPlane
 
c_vector< double, DIM > mNormalToPlane
 

Friends

class boost::serialization::access
 

Additional Inherited Members

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

Detailed Description

template<unsigned DIM>
class PlaneBasedCellKiller< DIM >

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 51 of file PlaneBasedCellKiller.hpp.

Constructor & Destructor Documentation

◆ PlaneBasedCellKiller()

template<unsigned DIM>
PlaneBasedCellKiller< DIM >::PlaneBasedCellKiller ( AbstractCellPopulation< DIM > *  pCellPopulation,
c_vector< double, DIM >  point,
c_vector< double, DIM >  normal 
)

Default constructor.

Parameters
pCellPopulationpointer to a cell population
pointpoint on the plane which nodes cannot cross
normalthe outward pointing unit normal to the boundary plane

Definition at line 39 of file PlaneBasedCellKiller.cpp.

References PlaneBasedCellKiller< DIM >::mNormalToPlane.

Member Function Documentation

◆ CheckAndLabelCellsForApoptosisOrDeath()

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

Loops over cells and kills cells outside boundary.

Implements AbstractCellKiller< DIM >.

Definition at line 62 of file PlaneBasedCellKiller.cpp.

◆ OutputCellKillerParameters()

template<unsigned DIM>
void PlaneBasedCellKiller< 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 79 of file PlaneBasedCellKiller.cpp.

References AbstractCellKiller< SPACE_DIM >::OutputCellKillerParameters().

◆ rGetNormalToPlane()

template<unsigned DIM>
const c_vector< double, DIM > & PlaneBasedCellKiller< DIM >::rGetNormalToPlane ( ) const
Returns
mNormalToPlane.

Definition at line 56 of file PlaneBasedCellKiller.cpp.

◆ rGetPointOnPlane()

template<unsigned DIM>
const c_vector< double, DIM > & PlaneBasedCellKiller< DIM >::rGetPointOnPlane ( ) const
Returns
mPointOnPlane.

Definition at line 50 of file PlaneBasedCellKiller.cpp.

◆ serialize()

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

Archive the object.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 74 of file PlaneBasedCellKiller.hpp.

Friends And Related Symbol Documentation

◆ boost::serialization::access

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

Needed for serialization.

Definition at line 66 of file PlaneBasedCellKiller.hpp.

Member Data Documentation

◆ mNormalToPlane

template<unsigned DIM>
c_vector<double, DIM> PlaneBasedCellKiller< DIM >::mNormalToPlane
private

The outward pointing unit normal to the boundary plane.

Definition at line 63 of file PlaneBasedCellKiller.hpp.

Referenced by PlaneBasedCellKiller< DIM >::PlaneBasedCellKiller().

◆ mPointOnPlane

template<unsigned DIM>
c_vector<double, DIM> PlaneBasedCellKiller< DIM >::mPointOnPlane
private

A point on the plane which nodes cannot cross.

Definition at line 58 of file PlaneBasedCellKiller.hpp.


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