50 if (myParent->
master() ==
this)
52 myParent->
master() =
nullptr;
54 else if (myParent->
slave() ==
this)
56 myParent->
slave() =
nullptr;
61 <<
" parent's master or slave pointer" <<
endl 81 else if (myParent->
master() ==
this)
85 else if (myParent->
slave() ==
this)
92 <<
" parent's master or slave pointer" <<
endl 117 else if (myParent->
master() ==
this)
119 return myParent->
slave();
121 else if (myParent->
slave() ==
this)
123 return myParent->
master();
128 <<
" parent's master or slave pointer" <<
endl bool isMaster() const
Check if this is master cell of split.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
splitCell * getOther() const
Returns other half of split cell. I.e. slave if this is master.
Ostream & endl(Ostream &os)
Add newline and flush stream.
splitCell * slave() const
bool isUnrefined() const
Check if this is unrefined (i.e. has no master or slave)
splitCell * parent() const
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in...
errorManip< error > abort(error &err)
splitCell(const label celli, splitCell *parent)
Construct from cell number and parent.
splitCell * master() const