Chaste
Release::2018.1
|
#include <AbstractCaBasedDivisionRule.hpp>
Public Member Functions | |
AbstractCaBasedDivisionRule () | |
virtual | ~AbstractCaBasedDivisionRule () |
virtual bool | IsRoomToDivide (CellPtr pParentCell, CaBasedCellPopulation< SPACE_DIM > &rCellPopulation)=0 |
virtual unsigned | CalculateDaughterNodeIndex (CellPtr pNewCell, CellPtr pParentCell, CaBasedCellPopulation< SPACE_DIM > &rCellPopulation)=0 |
void | OutputCellCaBasedDivisionRuleInfo (out_stream &rParamsFile) |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Protected Member Functions | |
virtual void | OutputCellCaBasedDivisionRuleParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
An abstract cell division rule for use in CA-based simulations.
The purpose of this class is to define how cells are added to the mesh
i.e it allows you to move cells out of the way if necessary
Definition at line 49 of file CaBasedCellPopulation.hpp.
AbstractCaBasedDivisionRule< DIM >::AbstractCaBasedDivisionRule | ( | ) |
Default constructor.
|
virtual |
Empty destructor.
|
pure virtual |
Return the index for the Daughter node. This method can be used to move cells out of the way as necessary.
As this method is pure virtual, it must be overridden in subclasses.
pNewCell | The cell to new cell |
pParentCell | The parent cell |
rCellPopulation | The CA-based cell population |
Implemented in ShovingCaBasedDivisionRule< SPACE_DIM >, and ExclusionCaBasedDivisionRule< SPACE_DIM >.
|
pure virtual |
Return whether there is room to divide at all.
As this method is pure virtual, it must be overridden in subclasses.
pParentCell | The cell to divide |
rCellPopulation | The CA-based cell population |
Implemented in ShovingCaBasedDivisionRule< SPACE_DIM >, and ExclusionCaBasedDivisionRule< SPACE_DIM >.
void AbstractCaBasedDivisionRule< DIM >::OutputCellCaBasedDivisionRuleInfo | ( | out_stream & | rParamsFile | ) |
Output the name of the concrete class and call OutputCellCaBasedDivisionRuleParameters().
rParamsFile | The stream of the parameter file |
|
protectedvirtual |
Output any parameters associated with the division rule. Currently empty since this class has no member variables. Should be overridden by any child classes that have parameters.
rParamsFile | The stream of the parameter file |
Referenced by AbstractCaBasedDivisionRule< SPACE_DIM >::OutputCellCaBasedDivisionRuleInfo().
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 67 of file AbstractCaBasedDivisionRule.hpp.