Loading...
Searching...
No Matches
smoothDelta::deltaData Class Reference

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

#include <smoothDelta.H>

Public Member Functions

 deltaData ()
 Default construct.
 deltaData (const scalar delta)
 Construct from delta value.
scalar delta () const
template<class TrackingData>
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value.
template<class TrackingData>
bool sameGeometry (const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
 Check for identical geometrical data (eg, cyclics checking).
template<class TrackingData>
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 Convert any absolute coordinates into relative to (patch)face centre.
template<class TrackingData>
void enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 Reverse of leaveDomain.
template<class TrackingData>
void transform (const polyMesh &, const tensor &, TrackingData &td)
 Apply rotation matrix to any coordinates.
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.
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.
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.
template<class TrackingData>
bool equal (const deltaData &, TrackingData &td) const
 Test for equality, with TrackingData.
template<class TrackingData>
bool interpolate (const polyMesh &, const point &pt, const label i0, const deltaData &f0, const label i1, const deltaData &f1, const scalar weight, const scalar tol, TrackingData &td)
 Interpolate between two values (lerp). Returns true if causes changes. Not sure if needs to be specialised between face and cell and what index is needed...
bool operator== (const deltaData &) const
 Test for equality.
bool operator!= (const deltaData &) const
 Test for inequality.

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

Constructor & Destructor Documentation

◆ deltaData() [1/2]

deltaData ( )
inline

Default construct.

Definition at line 58 of file smoothDeltaDeltaDataI.H.

Referenced by equal(), interpolate(), operator!=(), operator<<, operator==(), operator>>, sameGeometry(), updateCell(), updateFace(), and updateFace().

Here is the caller graph for this function:

◆ deltaData() [2/2]

deltaData ( const scalar delta)
inline

Construct from delta value.

Definition at line 64 of file smoothDeltaDeltaDataI.H.

References delta().

Here is the call graph for this function:

Member Function Documentation

◆ delta()

scalar delta ( ) const
inline

Definition at line 102 of file smoothDelta.H.

Referenced by deltaData(), interpolate(), and Foam::lerp().

Here is the caller graph for this function:

◆ valid()

template<class TrackingData>
bool valid ( TrackingData & td) const
inline

Changed or contains original (invalid) value.

Definition at line 73 of file smoothDeltaDeltaDataI.H.

References td().

Referenced by interpolate().

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

◆ sameGeometry()

template<class TrackingData>
bool sameGeometry ( const polyMesh & ,
const deltaData & ,
const scalar ,
TrackingData & td ) const
inline

Check for identical geometrical data (eg, cyclics checking).

Definition at line 83 of file smoothDeltaDeltaDataI.H.

References deltaData(), and td().

Here is the call graph for this function:

◆ leaveDomain()

template<class TrackingData>
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 96 of file smoothDeltaDeltaDataI.H.

References td().

Here is the call graph for this function:

◆ enterDomain()

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

Reverse of leaveDomain.

Definition at line 118 of file smoothDeltaDeltaDataI.H.

References td().

Here is the call graph for this function:

◆ transform()

template<class TrackingData>
void transform ( const polyMesh & ,
const tensor & ,
TrackingData & td )
inline

Apply rotation matrix to any coordinates.

Definition at line 108 of file smoothDeltaDeltaDataI.H.

References td().

Here is the call graph for this function:

◆ updateCell()

template<class TrackingData>
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 130 of file smoothDeltaDeltaDataI.H.

References deltaData(), td(), and update().

Here is the call graph for this function:

◆ updateFace() [1/2]

template<class TrackingData>
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 146 of file smoothDeltaDeltaDataI.H.

References deltaData(), td(), and update().

Here is the call graph for this function:

◆ updateFace() [2/2]

template<class TrackingData>
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 162 of file smoothDeltaDeltaDataI.H.

References deltaData(), td(), and update().

Here is the call graph for this function:

◆ equal()

template<class TrackingData>
bool equal ( const deltaData & rhs,
TrackingData & td ) const
inline

Test for equality, with TrackingData.

Definition at line 177 of file smoothDeltaDeltaDataI.H.

References deltaData(), Foam::operator==(), Foam::rhs(), and td().

Here is the call graph for this function:

◆ interpolate()

template<class TrackingData>
bool interpolate ( const polyMesh & ,
const point & pt,
const label i0,
const deltaData & f0,
const label i1,
const deltaData & f1,
const scalar weight,
const scalar tol,
TrackingData & td )
inline

Interpolate between two values (lerp). Returns true if causes changes. Not sure if needs to be specialised between face and cell and what index is needed...

Definition at line 188 of file smoothDeltaDeltaDataI.H.

References delta(), deltaData(), Foam::lerp(), td(), update(), valid(), and w2.

Here is the call graph for this function:

◆ operator==()

bool operator== ( const deltaData & rhs) const
inline

Test for equality.

Definition at line 223 of file smoothDeltaDeltaDataI.H.

References deltaData(), and Foam::rhs().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const deltaData & rhs) const
inline

Test for inequality.

Definition at line 232 of file smoothDeltaDeltaDataI.H.

References deltaData(), and Foam::rhs().

Here is the call graph for this function:

◆ operator<<

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

Definition at line 248 of file smoothDelta.H.

References deltaData(), os(), and Foam::rhs().

◆ operator>>

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

Definition at line 253 of file smoothDelta.H.

References deltaData(), and Foam::rhs().


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