Go to the documentation of this file.
52 if (myParent->
master() ==
this)
54 myParent->
master() =
nullptr;
56 else if (myParent->
slave() ==
this)
58 myParent->
slave() =
nullptr;
63 <<
" parent's master or slave pointer" <<
endl
83 else if (myParent->
master() ==
this)
87 else if (myParent->
slave() ==
this)
94 <<
" parent's master or slave pointer" <<
endl
104 return !master() && !slave();
119 else if (myParent->
master() ==
this)
121 return myParent->
slave();
123 else if (myParent->
slave() ==
this)
125 return myParent->
master();
130 <<
" parent's master or slave pointer" <<
endl
splitCell * slave() const
bool isUnrefined() const
Check if this is unrefined (i.e. has no master or slave)
Ostream & endl(Ostream &os)
Add newline and flush stream.
splitCell * getOther() const
Returns other half of split cell. I.e. slave if this is master.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in....
splitCell * master() const
bool isMaster() const
Check if this is master cell of split.