Public Member Functions | Friends | List of all members
refinementData Class Reference

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

Public Member Functions

 refinementData ()
 
 refinementData (const label refinementCount, const label count)
 
label refinementCount () const
 
label & refinementCount ()
 
label count () const
 
label & count ()
 
bool isRefined () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const refinementData &, const scalar, TrackingData &td) const
 
template<class TrackingData >
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void transform (const polyMesh &, const tensor &, TrackingData &td)
 
template<class TrackingData >
bool updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const refinementData &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const refinementData &, TrackingData &td) const
 
bool operator== (const refinementData &) const
 
bool operator!= (const refinementData &) const
 

Friends

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

Detailed Description

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

Source files

Definition at line 58 of file refinementData.H.

Constructor & Destructor Documentation

◆ refinementData() [1/2]

refinementData ( )
inline

Definition at line 24 of file refinementDataI.H.

◆ refinementData() [2/2]

refinementData ( const label  refinementCount,
const label  count 
)
inline

Definition at line 32 of file refinementDataI.H.

Member Function Documentation

◆ refinementCount() [1/2]

label refinementCount ( ) const
inline

Definition at line 83 of file refinementData.H.

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

Here is the caller graph for this function:

◆ refinementCount() [2/2]

label& refinementCount ( )
inline

Definition at line 87 of file refinementData.H.

◆ count() [1/2]

label count ( ) const
inline

Definition at line 92 of file refinementData.H.

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

Here is the caller graph for this function:

◆ count() [2/2]

label& count ( )
inline

Definition at line 96 of file refinementData.H.

◆ isRefined()

bool isRefined ( ) const
inline

Definition at line 101 of file refinementData.H.

Referenced by refinementData::updateCell().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 45 of file refinementDataI.H.

◆ sameGeometry()

bool sameGeometry ( const polyMesh ,
const refinementData ,
const  scalar,
TrackingData &  td 
) const
inline

Definition at line 54 of file refinementDataI.H.

◆ leaveDomain()

void leaveDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFacei,
const point faceCentre,
TrackingData &  td 
)
inline

Definition at line 68 of file refinementDataI.H.

◆ enterDomain()

void enterDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFacei,
const point faceCentre,
TrackingData &  td 
)
inline

Definition at line 92 of file refinementDataI.H.

◆ transform()

void transform ( const polyMesh ,
const tensor rotTensor,
TrackingData &  td 
)
inline

Definition at line 81 of file refinementDataI.H.

◆ updateCell()

bool updateCell ( const polyMesh ,
const label  thisCelli,
const label  neighbourFacei,
const refinementData neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

◆ updateFace() [1/2]

bool updateFace ( const polyMesh ,
const label  thisFacei,
const label  neighbourCelli,
const refinementData neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 167 of file refinementDataI.H.

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

Referenced by hexRef8::consistentSlowRefinement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh ,
const label  thisFacei,
const refinementData neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 202 of file refinementDataI.H.

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

Here is the call graph for this function:

◆ equal()

bool equal ( const refinementData rhs,
TrackingData &  td 
) const
inline

Definition at line 235 of file refinementDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const refinementData rhs) const
inline

Definition at line 247 of file refinementDataI.H.

◆ operator!=()

bool operator!= ( const refinementData rhs) const
inline

Definition at line 256 of file refinementDataI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
refinementData  
)
friend

The documentation for this class was generated from the following files: