Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement. More...
Public Member Functions | |
splitCell (const label celli, splitCell *parent) | |
Construct from cell number and parent. More... | |
~splitCell () | |
Destructor. More... | |
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. More... | |
bool | isUnrefined () const |
Check if this is unrefined (i.e. has no master or slave) More... | |
splitCell * | getOther () const |
Returns other half of split cell. I.e. slave if this is master. More... | |
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement.
Definition at line 53 of file splitCell.H.
Construct from cell number and parent.
Definition at line 34 of file splitCell.C.
~splitCell | ( | ) |
Destructor.
Definition at line 45 of file splitCell.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().
|
inline |
Definition at line 95 of file splitCell.H.
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().
|
inline |
Definition at line 100 of file splitCell.H.
|
inline |
Definition at line 105 of file splitCell.H.
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), undoableMeshCutter::removeSplitFaces(), and undoableMeshCutter::~undoableMeshCutter().
|
inline |
Definition at line 110 of file splitCell.H.
|
inline |
Definition at line 115 of file splitCell.H.
Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().
|
inline |
Definition at line 120 of file splitCell.H.
|
inline |
Definition at line 125 of file splitCell.H.
Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().
|
inline |
Definition at line 130 of file splitCell.H.
bool isMaster | ( | ) | const |
Check if this is master cell of split.
Definition at line 72 of file splitCell.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::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 102 of file splitCell.C.
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 108 of file splitCell.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::~undoableMeshCutter().