Chaste Commit::f2ff7ee04e70ac9d06c57344df8d017dbb12b97b
ShovingCaBasedDivisionRule< SPACE_DIM > Class Template Reference

#include <ShovingCaBasedDivisionRule.hpp>

+ Inheritance diagram for ShovingCaBasedDivisionRule< SPACE_DIM >:
+ Collaboration diagram for ShovingCaBasedDivisionRule< SPACE_DIM >:

Public Member Functions

 ShovingCaBasedDivisionRule ()
 
virtual ~ShovingCaBasedDivisionRule ()
 
void IsNodeOnBoundary (unsigned numNeighbours)
 
virtual bool IsRoomToDivide (CellPtr pParentCell, CaBasedCellPopulation< SPACE_DIM > &rCellPopulation)
 
virtual unsigned CalculateDaughterNodeIndex (CellPtr pNewCell, CellPtr pParentCell, CaBasedCellPopulation< SPACE_DIM > &rCellPopulation)
 
- Public Member Functions inherited from AbstractCaBasedDivisionRule< SPACE_DIM >
 AbstractCaBasedDivisionRule ()
 
virtual ~AbstractCaBasedDivisionRule ()
 
void OutputCellCaBasedDivisionRuleInfo (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 boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractCaBasedDivisionRule< SPACE_DIM >
virtual void OutputCellCaBasedDivisionRuleParameters (out_stream &rParamsFile)
 

Detailed Description

template<unsigned SPACE_DIM>
class ShovingCaBasedDivisionRule< SPACE_DIM >

A division rule for CA-based cell populations that specifies how cells divide. Here they can divide in any direction and shove other cells out of the way in that direction.

Definition at line 54 of file ShovingCaBasedDivisionRule.hpp.

Constructor & Destructor Documentation

◆ ShovingCaBasedDivisionRule()

template<unsigned SPACE_DIM>
ShovingCaBasedDivisionRule< SPACE_DIM >::ShovingCaBasedDivisionRule ( )
inline

Default constructor.

Definition at line 76 of file ShovingCaBasedDivisionRule.hpp.

◆ ~ShovingCaBasedDivisionRule()

template<unsigned SPACE_DIM>
virtual ShovingCaBasedDivisionRule< SPACE_DIM >::~ShovingCaBasedDivisionRule ( )
inlinevirtual

Empty destructor.

Definition at line 81 of file ShovingCaBasedDivisionRule.hpp.

Member Function Documentation

◆ CalculateDaughterNodeIndex()

template<unsigned SPACE_DIM>
unsigned ShovingCaBasedDivisionRule< SPACE_DIM >::CalculateDaughterNodeIndex ( CellPtr  pNewCell,
CellPtr  pParentCell,
CaBasedCellPopulation< SPACE_DIM > &  rCellPopulation 
)
virtual

◆ IsNodeOnBoundary()

template<unsigned SPACE_DIM>
void ShovingCaBasedDivisionRule< SPACE_DIM >::IsNodeOnBoundary ( unsigned  numNeighbours)

Helper method to see if cells are on the boundary of the domain. Throws exception if cells boundary of the domain.

Parameters
numNeighboursthe number of neighbours of the node.

Definition at line 40 of file ShovingCaBasedDivisionRule.cpp.

References EXCEPTION, and NEVER_REACHED.

◆ IsRoomToDivide()

template<unsigned SPACE_DIM>
bool ShovingCaBasedDivisionRule< SPACE_DIM >::IsRoomToDivide ( CellPtr  pParentCell,
CaBasedCellPopulation< SPACE_DIM > &  rCellPopulation 
)
virtual

Return whether there is room to divide at all.

Parameters
pParentCellThe cell to divide
rCellPopulationThe CA-based cell population
Returns
if the site is available.

Implements AbstractCaBasedDivisionRule< SPACE_DIM >.

Definition at line 62 of file ShovingCaBasedDivisionRule.cpp.

◆ serialize()

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

Serialize the object and its member variables.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 66 of file ShovingCaBasedDivisionRule.hpp.

Friends And Related Symbol Documentation

◆ boost::serialization::access

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

Definition at line 58 of file ShovingCaBasedDivisionRule.hpp.


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