![]() |
VPTissue Reference Manual
|
Class for handling cell division. More...
#include <CellDivider.h>

Public Member Functions | |
| CellDivider (const CoreData &cd) | |
| Constructor initializes with CoreData. | |
| CellDivider (Mesh *mesh) | |
| Constructor initializes with mesh (for use with tissue_editor). | |
| unsigned int | DivideCells () |
| Execute cell divisions. | |
| void | DivideOverAxis (Cell *cell, const std::array< double, 3 > &axis) |
| Divide cell over a pre-defined axis (only when this object has been initialized with core data). More... | |
| std::list< Cell * > | GeometricSplitCell (Cell *cell, Node *node1, Node *node2) |
| A geometric split of cell (see tissue editor's EditableMesh class). | |
| void | Initialize (Mesh *mesh) |
| Initializes based on the values of a given mesh. More... | |
| void | Initialize (const CoreData &cd) |
| Initializes based on the values of given core data. More... | |
Class for handling cell division.
Definition at line 48 of file CellDivider.h.
| void SimPT_Sim::CellDivider::DivideOverAxis | ( | Cell * | cell, |
| const std::array< double, 3 > & | axis | ||
| ) |
Divide cell over a pre-defined axis (only when this object has been initialized with core data).
| cell | The given cell. |
| axis | The axis. |
Definition at line 427 of file CellDivider.cpp.
References SimPT_Sim::Cell::GetCentroid(), and SimPT_Sim::Cell::GetNodes().

| void SimPT_Sim::CellDivider::Initialize | ( | Mesh * | mesh | ) |
Initializes based on the values of a given mesh.
Since a mesh doesn't contain any parameters as a sim has, the default values in the constructor will be used.
| mesh | The given mesh. |
Definition at line 524 of file CellDivider.cpp.
| void SimPT_Sim::CellDivider::Initialize | ( | const CoreData & | cd | ) |
Initializes based on the values of given core data.
If the target_distance isn't specified, then it will be defined as infinite.
| cd | The given core data. |
Definition at line 542 of file CellDivider.cpp.
References SimPT_Sim::CoreData::Check().
