Chaste
Release::2018.1
|
#include <ExclusionCaBasedDivisionRule.hpp>
Public Member Functions | |
ExclusionCaBasedDivisionRule () | |
virtual | ~ExclusionCaBasedDivisionRule () |
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 to divide randomly into the available neighbours. If there are no spaces then the move is aborted.
Definition at line 53 of file ExclusionCaBasedDivisionRule.hpp.
|
inline |
Default constructor.
Definition at line 75 of file ExclusionCaBasedDivisionRule.hpp.
|
inlinevirtual |
Empty destructor.
Definition at line 80 of file ExclusionCaBasedDivisionRule.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 66 of file ExclusionCaBasedDivisionRule.cpp.
References CaBasedCellPopulation< DIM >::EvaluateDivisionPropensity(), EXCEPTION, AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), PottsMesh< DIM >::GetMooreNeighbouringNodeIndices(), RandomNumberGenerator::Instance(), CaBasedCellPopulation< DIM >::IsSiteAvailable(), RandomNumberGenerator::ranf(), CaBasedCellPopulation< DIM >::rGetMesh(), and UNSIGNED_UNSET.
|
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 40 of file ExclusionCaBasedDivisionRule.cpp.
References AbstractCellPopulation< DIM >::GetLocationIndexUsingCell(), PottsMesh< DIM >::GetMooreNeighbouringNodeIndices(), CaBasedCellPopulation< DIM >::IsSiteAvailable(), and CaBasedCellPopulation< DIM >::rGetMesh().
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 65 of file ExclusionCaBasedDivisionRule.hpp.