smoothDelta::deltaData Class Reference

Public class used by mesh-wave to propagate the delta-ratio. More...

Public Member Functions

 deltaData ()
 Default construct. More...
 
 deltaData (const scalar delta)
 Construct from delta value. More...
 
scalar delta () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value. More...
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
 Check for identical geometrical data (eg, cyclics checking) More...
 
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)
 Reverse of leaveDomain. More...
 
template<class TrackingData >
void transform (const polyMesh &, const tensor &, TrackingData &td)
 Apply rotation matrix to any coordinates. More...
 
template<class TrackingData >
bool updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const deltaData &, TrackingData &td) const
 Test for equality, with TrackingData. More...
 
bool operator== (const deltaData &) const
 Test for equality. More...
 
bool operator!= (const deltaData &) const
 Test for inequality. More...
 

Friends

Ostreamoperator<< (Ostream &os, const deltaData &rhs)
 
Istreamoperator>> (Istream &is, deltaData &rhs)
 

Detailed Description

Public class used by mesh-wave to propagate the delta-ratio.

Definition at line 62 of file smoothDelta.H.

Constructor & Destructor Documentation

◆ deltaData() [1/2]

deltaData ( )
inline

Default construct.

Definition at line 65 of file smoothDeltaDeltaDataI.H.

◆ deltaData() [2/2]

deltaData ( const scalar  delta)
inline

Construct from delta value.

Definition at line 71 of file smoothDeltaDeltaDataI.H.

Member Function Documentation

◆ delta()

scalar delta ( ) const
inline

Definition at line 98 of file smoothDelta.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Changed or contains original (invalid) value.

Definition at line 80 of file smoothDeltaDeltaDataI.H.

References LESdelta::delta_.

◆ sameGeometry()

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

Check for identical geometrical data (eg, cyclics checking)

Definition at line 90 of file smoothDeltaDeltaDataI.H.

◆ leaveDomain()

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

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

Definition at line 103 of file smoothDeltaDeltaDataI.H.

◆ enterDomain()

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

Reverse of leaveDomain.

Definition at line 125 of file smoothDeltaDeltaDataI.H.

◆ transform()

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

Apply rotation matrix to any coordinates.

Definition at line 115 of file smoothDeltaDeltaDataI.H.

◆ updateCell()

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

Influence of neighbouring face.

Definition at line 137 of file smoothDeltaDeltaDataI.H.

References update().

Here is the call graph for this function:

◆ updateFace() [1/2]

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

Influence of neighbouring cell.

Definition at line 153 of file smoothDeltaDeltaDataI.H.

References update().

Here is the call graph for this function:

◆ updateFace() [2/2]

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

Influence of different value on same face.

Definition at line 169 of file smoothDeltaDeltaDataI.H.

References update().

Here is the call graph for this function:

◆ equal()

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

Test for equality, with TrackingData.

Definition at line 184 of file smoothDeltaDeltaDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const deltaData rhs) const
inline

Test for equality.

Definition at line 196 of file smoothDeltaDeltaDataI.H.

References LESdelta::delta_.

◆ operator!=()

bool operator!= ( const deltaData rhs) const
inline

Test for inequality.

Definition at line 205 of file smoothDeltaDeltaDataI.H.

Friends And Related Function Documentation

◆ operator<<

Ostream & operator<< ( Ostream os,
const deltaData rhs 
)
friend

Definition at line 203 of file smoothDelta.H.

◆ operator>>

Istream & operator>> ( Istream is,
deltaData rhs 
)
friend

Definition at line 208 of file smoothDelta.H.


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