OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

refinementData Class Reference

List of all members.

Detailed Description

Definition at line 63 of file refinementData.H.


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 &)

Constructor & Destructor Documentation

refinementData (  )  [inline]

Construct null.

Definition at line 39 of file refinementDataI.H.

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

Construct from count.

Definition at line 48 of file refinementDataI.H.


Member Function Documentation

label refinementCount (  )  const [inline]

Definition at line 88 of file refinementData.H.

Referenced by refinementData::updateCell(), and refinementData::updateFace().

Here is the caller graph for this function:

label& refinementCount (  )  [inline]

Definition at line 93 of file refinementData.H.

label count (  )  const [inline]

Definition at line 98 of file refinementData.H.

Referenced by refinementData::updateCell(), and refinementData::updateFace().

Here is the caller graph for this function:

label& count (  )  [inline]

Definition at line 103 of file refinementData.H.

bool isRefined (  )  const [inline]

Definition at line 108 of file refinementData.H.

Referenced by refinementData::updateCell().

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 60 of file refinementDataI.H.

Referenced by refinementData::updateCell(), and refinementData::updateFace().

Here is the caller graph for this function:

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

Check for identical geometrical data. Used for cyclics checking.

Definition at line 68 of file refinementDataI.H.

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

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

centre

Definition at line 80 of file refinementDataI.H.

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

Reverse of leaveDomain.

Definition at line 100 of file refinementDataI.H.

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

Apply rotation matrix to any coordinates.

Definition at line 91 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 111 of file refinementDataI.H.

References Foam::abort(), refinementData::count(), Foam::FatalError, FatalErrorIn, refinementData::isRefined(), Foam::max(), refinementData::refinementCount(), and refinementData::valid().

Here is the call graph for this function:

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

Influence of neighbouring cell.

Definition at line 171 of file refinementDataI.H.

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

Here is the call 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 204 of file refinementDataI.H.

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

Here is the call graph for this function:

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

Definition at line 236 of file refinementDataI.H.

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

Definition at line 243 of file refinementDataI.H.


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-2007 OpenCFD Ltd