Public Member Functions | List of all members
splitCell Class Reference

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)
 
 ~splitCell ()
 
label cellLabel () const
 
label & cellLabel ()
 
splitCellparent () const
 
splitCell *& parent ()
 
splitCellmaster () const
 
splitCell *& master ()
 
splitCellslave () const
 
splitCell *& slave ()
 
bool isMaster () const
 
bool isUnrefined () const
 
splitCellgetOther () const
 

Detailed Description

Description of cell after splitting. Contains cellLabel and pointers to cells it it split in. See directedRefinement.

Source files

Definition at line 47 of file splitCell.H.

Constructor & Destructor Documentation

◆ splitCell()

splitCell ( const label  celli,
splitCell parent 
)

Definition at line 26 of file splitCell.C.

◆ ~splitCell()

~splitCell ( )

Definition at line 37 of file splitCell.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().

Here is the call graph for this function:

Member Function Documentation

◆ cellLabel() [1/2]

label cellLabel ( ) const
inline

Definition at line 89 of file splitCell.H.

Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().

Here is the caller graph for this function:

◆ cellLabel() [2/2]

label& cellLabel ( )
inline

Definition at line 94 of file splitCell.H.

◆ parent() [1/2]

splitCell* parent ( ) const
inline

◆ parent() [2/2]

splitCell*& parent ( )
inline

Definition at line 104 of file splitCell.H.

◆ master() [1/2]

splitCell* master ( ) const
inline

Definition at line 109 of file splitCell.H.

Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().

Here is the caller graph for this function:

◆ master() [2/2]

splitCell*& master ( )
inline

Definition at line 114 of file splitCell.H.

◆ slave() [1/2]

splitCell* slave ( ) const
inline

Definition at line 119 of file splitCell.H.

Referenced by splitCell::getOther(), splitCell::isMaster(), undoableMeshCutter::setRefinement(), and splitCell::~splitCell().

Here is the caller graph for this function:

◆ slave() [2/2]

splitCell*& slave ( )
inline

Definition at line 124 of file splitCell.H.

◆ isMaster()

bool isMaster ( ) const

Definition at line 64 of file splitCell.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, splitCell::master(), and splitCell::slave().

Referenced by undoableMeshCutter::getAddedCells(), and undoableMeshCutter::getSplitFaces().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isUnrefined()

bool isUnrefined ( ) const

Definition at line 94 of file splitCell.C.

Referenced by undoableMeshCutter::getAddedCells(), undoableMeshCutter::getSplitFaces(), and undoableMeshCutter::removeSplitFaces().

Here is the caller graph for this function:

◆ getOther()

Foam::splitCell * getOther ( ) const

Definition at line 100 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().

Here is the call graph for this function:
Here is the caller graph for this function:

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