Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement. More...
#include <dynamicMesh/splitCell.H>
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement.
Definition at line 52 of file splitCell.H.
 Collaboration diagram for splitCell:
 Collaboration diagram for splitCell:| Public Member Functions | |
| splitCell (const label cellI, splitCell *parent) | |
| Construct from cell number and parent. | |
| ~splitCell () | |
| 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. | |
Construct from cell number and parent.
Definition at line 32 of file splitCell.C.
| ~splitCell | ( | ) | 
Definition at line 43 of file splitCell.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, splitCell::master(), and splitCell::slave().
| label cellLabel | ( | ) | const  [inline] | 
Definition at line 95 of file splitCell.H.
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().
| label& cellLabel | ( | ) |  [inline] | 
Definition at line 100 of file splitCell.H.
| splitCell* parent | ( | ) | const  [inline] | 
Definition at line 105 of file splitCell.H.
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), undoableMeshCutter::removeSplitFaces(), and undoableMeshCutter::~undoableMeshCutter().
| splitCell*& parent | ( | ) |  [inline] | 
Definition at line 110 of file splitCell.H.
| splitCell* master | ( | ) | const  [inline] | 
Definition at line 115 of file splitCell.H.
Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().
| splitCell*& master | ( | ) |  [inline] | 
Definition at line 120 of file splitCell.H.
| splitCell* slave | ( | ) | const  [inline] | 
Definition at line 125 of file splitCell.H.
Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().
| splitCell*& slave | ( | ) |  [inline] | 
Definition at line 130 of file splitCell.H.
| bool isMaster | ( | ) | const | 
Check if this is master cell of split.
Definition at line 70 of file splitCell.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, 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 100 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 106 of file splitCell.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, splitCell::master(), and splitCell::slave().
Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::~undoableMeshCutter().