FreeFOAM The Cross-Platform CFD Toolkit
refinementData Class Reference

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

#include <dynamicMesh/refinementData.H>


Detailed Description

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

Source files

Definition at line 55 of file refinementData.H.

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

Ostreamoperator<< (Ostream &, const refinementData &)
Istreamoperator>> (Istream &, refinementData &)

Constructor & Destructor Documentation

refinementData ( )
inline

Construct null.

Definition at line 33 of file refinementDataI.H.

refinementData ( const label  refinementCount,
const label  count 
)
inline

Construct from count.

Definition at line 42 of file refinementDataI.H.


Member Function Documentation

label refinementCount ( ) const
inline
label& refinementCount ( )
inline

Definition at line 85 of file refinementData.H.

label& count ( )
inline

Definition at line 95 of file refinementData.H.

bool isRefined ( ) const
inline
bool valid ( ) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 54 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 62 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 74 of file refinementDataI.H.

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

Reverse of leaveDomain.

Definition at line 94 of file refinementDataI.H.

void transform ( const polyMesh ,
const tensor rotTensor 
)
inline

Apply rotation matrix to any coordinates.

Definition at line 85 of file refinementDataI.H.

bool updateCell ( const polyMesh ,
const label  thisCellI,
const label  neighbourFaceI,
const refinementData neighbourInfo,
const scalar  tol 
)
inline
bool updateFace ( const polyMesh ,
const label  thisFaceI,
const label  neighbourCellI,
const refinementData neighbourInfo,
const scalar  tol 
)
inline

Influence of neighbouring cell.

Definition at line 165 of file refinementDataI.H.

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

Referenced by hexRef8::consistentSlowRefinement().

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

Influence of different value on same face.

Definition at line 198 of file refinementDataI.H.

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

bool operator== ( const refinementData rhs) const
inline
bool operator!= ( const refinementData rhs) const
inline

Definition at line 237 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: