Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#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 55 of file AbstractCaBasedDivisionRule.hpp.
AbstractCaBasedDivisionRule< SPACE_DIM >::AbstractCaBasedDivisionRule | ( | ) |
Default constructor.
Definition at line 39 of file AbstractCaBasedDivisionRule.cpp.
|
virtual |
Empty destructor.
Definition at line 44 of file AbstractCaBasedDivisionRule.cpp.
|
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 ExclusionCaBasedDivisionRule< SPACE_DIM >, and ShovingCaBasedDivisionRule< 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 ExclusionCaBasedDivisionRule< SPACE_DIM >, and ShovingCaBasedDivisionRule< SPACE_DIM >.
void AbstractCaBasedDivisionRule< SPACE_DIM >::OutputCellCaBasedDivisionRuleInfo | ( | out_stream & | rParamsFile | ) |
Output the name of the concrete class and call OutputCellCaBasedDivisionRuleParameters().
rParamsFile | The stream of the parameter file |
Definition at line 49 of file AbstractCaBasedDivisionRule.cpp.
|
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 |
Definition at line 59 of file AbstractCaBasedDivisionRule.cpp.
|
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.
|
friend |
Definition at line 59 of file AbstractCaBasedDivisionRule.hpp.