OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

splitCell Class Reference

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

Collaboration diagram for splitCell:

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.

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 ( const label  cellI,
splitCell *  parent 
)

Construct from cell number and parent.

Definition at line 24 of file splitCell.C.

~splitCell (  ) 

Definition at line 35 of file splitCell.C.


Member Function Documentation

label cellLabel (  )  const [inline]

Definition at line 92 of file splitCell.H.

label& cellLabel (  )  [inline]

Definition at line 97 of file splitCell.H.

splitCell* parent (  )  const [inline]

Definition at line 102 of file splitCell.H.

splitCell*& parent (  )  [inline]

Definition at line 107 of file splitCell.H.

splitCell* master (  )  const [inline]

Definition at line 112 of file splitCell.H.

splitCell*& master (  )  [inline]

Definition at line 117 of file splitCell.H.

splitCell* slave (  )  const [inline]

Definition at line 122 of file splitCell.H.

splitCell*& slave (  )  [inline]

Definition at line 127 of file splitCell.H.

bool isMaster (  )  const

Check if this is master cell of split.

Definition at line 62 of file splitCell.C.

bool isUnrefined (  )  const

Check if this is unrefined (i.e. has no master or slave).

Definition at line 92 of file splitCell.C.

Foam::splitCell * getOther (  )  const

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

Definition at line 98 of file splitCell.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd