Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement. More...
#include <splitCell.H>
Public Member Functions | |
| splitCell (const label celli, splitCell *parent) | |
| Construct from cell number and parent. | |
| ~splitCell () | |
| Destructor. | |
| label | cellLabel () const |
| label & | cellLabel () |
| splitCell * | parent () const |
| splitCell *& | parent () |
| splitCell * | master () const |
| splitCell *& | master () |
| splitCell * | slave () const |
| splitCell *& | slave () |
| bool | isMaster () const |
| Check if this is master cell of split. | |
| bool | isUnrefined () const |
| Check if this is unrefined (i.e. has no master or slave). | |
| splitCell * | getOther () const |
| Returns other half of split cell. I.e. slave if this is master. | |
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement.
Definition at line 47 of file splitCell.H.
| splitCell | ( | const label | celli, |
| splitCell * | parent ) |
Construct from cell number and parent.
Definition at line 26 of file splitCell.C.
References parent().

| ~splitCell | ( | ) |
Destructor.
Definition at line 37 of file splitCell.C.
References Foam::abort(), cellLabel(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, master(), parent(), and slave().

|
inline |
Definition at line 104 of file splitCell.H.
Referenced by undoableMeshCutter::getAddedCells(), getOther(), undoableMeshCutter::getSplitFaces(), isMaster(), undoableMeshCutter::removeSplitFaces(), and ~splitCell().

|
inline |
Definition at line 109 of file splitCell.H.
|
inline |
Definition at line 114 of file splitCell.H.
Referenced by undoableMeshCutter::getAddedCells(), getOther(), undoableMeshCutter::getSplitFaces(), isMaster(), undoableMeshCutter::removeSplitFaces(), splitCell(), ~splitCell(), and undoableMeshCutter::~undoableMeshCutter().

|
inline |
Definition at line 119 of file splitCell.H.
|
inline |
Definition at line 124 of file splitCell.H.
Referenced by getOther(), isMaster(), isUnrefined(), undoableMeshCutter::setRefinement(), and ~splitCell().

|
inline |
Definition at line 129 of file splitCell.H.
|
inline |
Definition at line 134 of file splitCell.H.
Referenced by getOther(), isMaster(), isUnrefined(), undoableMeshCutter::setRefinement(), and ~splitCell().

|
inline |
Definition at line 139 of file splitCell.H.
| bool isMaster | ( | ) | const |
Check if this is master cell of split.
Definition at line 64 of file splitCell.C.
References Foam::abort(), cellLabel(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, master(), parent(), and slave().
Referenced by undoableMeshCutter::getAddedCells(), and undoableMeshCutter::getSplitFaces().


| bool isUnrefined | ( | ) | const |
Check if this is unrefined (i.e. has no master or slave).
Definition at line 94 of file splitCell.C.
References master(), and slave().
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().


| Foam::splitCell * getOther | ( | ) | const |
Returns other half of split cell. I.e. slave if this is master.
Definition at line 100 of file splitCell.C.
References Foam::abort(), cellLabel(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, master(), parent(), and slave().
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::~undoableMeshCutter().

