OpenFOAM logo
Open Source CFD Toolkit

splitCell Class Reference

Collaboration diagram for splitCell:

Collaboration graph
[legend]
List of all members.

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.

Constructor & Destructor Documentation

splitCell (  const label  cellI,
splitCell *  parent
) 
 

Construct from cell number and parent.

~splitCell (   ) 
 


Member Function Documentation

label& cellLabel (   )  [inline]
 

Definition at line 110 of file splitCell.H.

label cellLabel (   )  const [inline]
 

Definition at line 105 of file splitCell.H.

splitCell* getOther (   )  const
 

Returns other half of split cell. I.e. slave if this is master.

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 (   )  [inline]
 

Definition at line 130 of file splitCell.H.

splitCell* master (   )  const [inline]
 

Definition at line 125 of file splitCell.H.

splitCell*& parent (   )  [inline]
 

Definition at line 120 of file splitCell.H.

splitCell* parent (   )  const [inline]
 

Definition at line 115 of file splitCell.H.

splitCell*& slave (   )  [inline]
 

Definition at line 140 of file splitCell.H.

splitCell* slave (   )  const [inline]
 

Definition at line 135 of file splitCell.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org