VPTissue Reference Manual
SimPT_Sim::CellDivider Class Reference

Class for handling cell division. More...

#include <CellDivider.h>

Collaboration diagram for SimPT_Sim::CellDivider:
Collaboration graph

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...
 

Detailed Description

Class for handling cell division.

Definition at line 48 of file CellDivider.h.

Member Function Documentation

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).

Parameters
cellThe given cell.
axisThe axis.

Definition at line 427 of file CellDivider.cpp.

References SimPT_Sim::Cell::GetCentroid(), and SimPT_Sim::Cell::GetNodes().

Here is the call graph for this function:

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.

Parameters
meshThe 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.

Parameters
cdThe given core data.

Definition at line 542 of file CellDivider.cpp.

References SimPT_Sim::CoreData::Check().

Here is the call graph for this function:


The documentation for this class was generated from the following files: