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

refinementData Class Reference

Transfers refinement levels such that slow transition between levels is maintained. Used in meshWave. More...

Collaboration diagram for refinementData:

List of all members.


Public Member Functions

 refinementData ()
 Construct null.
 refinementData (const label refinementCount, const label count)
 Construct from count.
label refinementCount () const
label & refinementCount ()
label count () const
label & count ()
bool isRefined () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const polyMesh &, const refinementData &, const scalar) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre)
 Convert any absolute coordinates into relative to (patch)face.
void enterDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre)
 Reverse of leaveDomain.
void transform (const polyMesh &, const tensor &)
 Apply rotation matrix to any coordinates.
bool updateCell (const polyMesh &, const label thisCellI, const label neighbourFaceI, const refinementData &neighbourInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const refinementData &neighbourInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &, const label thisFaceI, const refinementData &neighbourInfo, const scalar tol)
 Influence of different value on same face.
bool operator== (const refinementData &) const
bool operator!= (const refinementData &) const

Friends

Ostream & operator<< (Ostream &, const refinementData &)
Istream & operator>> (Istream &, refinementData &)

Detailed Description

Transfers refinement levels such that slow transition between levels is maintained. Used in meshWave.

Source files

Definition at line 50 of file refinementData.H.


Constructor & Destructor Documentation

refinementData (  )  [inline]

Construct null.

Definition at line 25 of file refinementDataI.H.

refinementData ( const label  refinementCount,
const label  count 
) [inline]

Construct from count.

Definition at line 34 of file refinementDataI.H.


Member Function Documentation

label refinementCount (  )  const [inline]

Definition at line 75 of file refinementData.H.

Referenced by hexRef8::consistentSlowRefinement(), and refinementData::operator!=().

Here is the caller graph for this function:

label& refinementCount (  )  [inline]

Definition at line 80 of file refinementData.H.

label count (  )  const [inline]

Definition at line 85 of file refinementData.H.

Referenced by hexRef8::consistentSlowRefinement(), and refinementData::operator!=().

Here is the caller graph for this function:

label& count (  )  [inline]

Definition at line 90 of file refinementData.H.

bool isRefined (  )  const [inline]

Definition at line 95 of file refinementData.H.

Referenced by hexRef8::consistentSlowRefinement().

Here is the caller graph for this function:

bool valid (  )  const [inline]

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 46 of file refinementDataI.H.

bool sameGeometry ( const polyMesh &  ,
const refinementData &  ,
const   scalar 
) const [inline]

Check for identical geometrical data. Used for cyclics checking.

Definition at line 54 of file refinementDataI.H.

void leaveDomain ( const polyMesh &  ,
const polyPatch &  patch,
const label  patchFaceI,
const point &  faceCentre 
) [inline]

Convert any absolute coordinates into relative to (patch)face.

centre

Definition at line 66 of file refinementDataI.H.

void enterDomain ( const polyMesh &  ,
const polyPatch &  patch,
const label  patchFaceI,
const point &  faceCentre 
) [inline]

Reverse of leaveDomain.

Definition at line 86 of file refinementDataI.H.

void transform ( const polyMesh &  ,
const tensor &  rotTensor 
) [inline]

Apply rotation matrix to any coordinates.

Definition at line 77 of file refinementDataI.H.

bool updateCell ( const polyMesh &  ,
const label  thisCellI,
const label  neighbourFaceI,
const refinementData &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of neighbouring face.

Definition at line 97 of file refinementDataI.H.

bool updateFace ( const polyMesh &  ,
const label  thisFaceI,
const label  neighbourCellI,
const refinementData &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of neighbouring cell.

Definition at line 157 of file refinementDataI.H.

Referenced by hexRef8::consistentSlowRefinement().

Here is the caller graph for this function:

bool updateFace ( const polyMesh &  ,
const label  thisFaceI,
const refinementData &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of different value on same face.

Definition at line 190 of file refinementDataI.H.

bool operator== ( const refinementData &  rhs  )  const [inline]

Definition at line 222 of file refinementDataI.H.

bool operator!= ( const refinementData &  rhs  )  const [inline]

Definition at line 229 of file refinementDataI.H.

References refinementData::count(), and refinementData::refinementCount().

Here is the call graph for this function:


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  ,
const refinementData &   
) [friend]

Istream& operator>> ( Istream &  ,
refinementData &   
) [friend]


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