Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <ShovingCaBasedDivisionRule.hpp>
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) |
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.
|
inline |
Default constructor.
Definition at line 76 of file ShovingCaBasedDivisionRule.hpp.
|
inlinevirtual |
Empty destructor.
Definition at line 81 of file ShovingCaBasedDivisionRule.hpp.
|
virtual |
Return the index for the daughter node. This method can be used to move cells out of the way as necessary.
pNewCell | The cell to new cell |
pParentCell | The parent cell |
rCellPopulation | The CA-based cell population |
Implements AbstractCaBasedDivisionRule< SPACE_DIM >.
Definition at line 68 of file ShovingCaBasedDivisionRule.cpp.
References CaBasedCellPopulation< DIM >::EvaluateDivisionPropensity(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCellUsingLocationIndex(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationIndexUsingCell(), PottsMesh< DIM >::GetMooreNeighbouringNodeIndices(), RandomNumberGenerator::Instance(), CaBasedCellPopulation< DIM >::IsSiteAvailable(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::MoveCellInLocationMap(), RandomNumberGenerator::ranf(), CaBasedCellPopulation< DIM >::rGetMesh(), and UNSIGNED_UNSET.
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.
numNeighbours | the number of neighbours of the node. |
Definition at line 40 of file ShovingCaBasedDivisionRule.cpp.
References EXCEPTION, and NEVER_REACHED.
|
virtual |
Return whether there is room to divide at all.
pParentCell | The cell to divide |
rCellPopulation | The CA-based cell population |
Implements AbstractCaBasedDivisionRule< SPACE_DIM >.
Definition at line 62 of file ShovingCaBasedDivisionRule.cpp.
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 66 of file ShovingCaBasedDivisionRule.hpp.
|
friend |
Definition at line 58 of file ShovingCaBasedDivisionRule.hpp.