51 if (myParent->
master() ==
this)
53 myParent->
master() =
nullptr;
55 else if (myParent->
slave() ==
this)
57 myParent->
slave() =
nullptr;
62 <<
" parent's master or slave pointer" <<
endl
82 else if (myParent->
master() ==
this)
86 else if (myParent->
slave() ==
this)
93 <<
" parent's master or slave pointer" <<
endl
103 return !master() && !slave();
118 else if (myParent->
master() ==
this)
120 return myParent->
slave();
122 else if (myParent->
slave() ==
this)
124 return myParent->
master();
129 <<
" parent's master or slave pointer" <<
endl
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in....
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 * master() const
splitCell * getOther() const
Returns other half of split cell. I.e. slave if this is master.
splitCell * slave() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)