Classes | Public Member Functions | Friends | List of all members
smoothData Class Reference

Helper class used by the fvc::smooth and fvc::spread functions. More...

Classes

class  trackData
 Class used to pass additional data in. More...
 

Public Member Functions

 smoothData ()
 Construct null. More...
 
 smoothData (const scalar value)
 Construct from inverse field value. More...
 
scalar value () const
 Return value. More...
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const smoothData &, const scalar, TrackingData &td) const
 Check for identical geometrical data. More...
 
template<class TrackingData >
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
 Convert any absolute coordinates into relative to. More...
 
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 smoothData &svf, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFaceI, const label neighbourCellI, const smoothData &svf, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFaceI, const smoothData &svf, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const smoothData &, TrackingData &td) const
 Same (like operator==) More...
 
void operator= (const scalar value)
 
bool operator== (const smoothData &) const
 
bool operator!= (const smoothData &) const
 

Friends

Ostreamoperator<< (Ostream &os, const smoothData &svf)
 
Istreamoperator>> (Istream &is, smoothData &svf)
 

Detailed Description

Helper class used by the fvc::smooth and fvc::spread functions.

Source files

Definition at line 47 of file smoothData.H.

Constructor & Destructor Documentation

smoothData ( )
inline

Construct null.

Definition at line 64 of file smoothDataI.H.

smoothData ( const scalar  value)
inline

Construct from inverse field value.

Definition at line 70 of file smoothDataI.H.

Member Function Documentation

scalar value ( ) const
inline
bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value

Definition at line 79 of file smoothDataI.H.

References smoothData::sameGeometry().

Referenced by smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Check for identical geometrical data.

Used for cyclics checking

Definition at line 87 of file smoothDataI.H.

References smoothData::leaveDomain().

Referenced by smoothData::valid(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

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 100 of file smoothDataI.H.

References smoothData::transform().

Referenced by smoothData::sameGeometry(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reverse of leaveDomain.

Definition at line 122 of file smoothDataI.H.

References smoothData::updateCell().

Referenced by smoothData::transform(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Apply rotation matrix to any coordinates.

Definition at line 112 of file smoothDataI.H.

References smoothData::enterDomain().

Referenced by smoothData::leaveDomain(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

bool updateCell ( const polyMesh ,
const label  thisCellI,
const label  neighbourFaceI,
const smoothData svf,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Definition at line 134 of file smoothDataI.H.

References smoothData::updateFace().

Referenced by smoothData::enterDomain(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

bool updateFace ( const polyMesh ,
const label  thisFaceI,
const label  neighbourCellI,
const smoothData svf,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Definition at line 150 of file smoothDataI.H.

Referenced by smoothData::updateCell(), and smoothData::value().

Here is the caller graph for this function:

bool updateFace ( const polyMesh ,
const label  thisFaceI,
const smoothData svf,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Definition at line 167 of file smoothDataI.H.

References smoothData::equal().

Here is the call graph for this function:

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

Same (like operator==)

Definition at line 182 of file smoothDataI.H.

References smoothData::operator==().

Referenced by smoothData::updateFace(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

void operator= ( const scalar  value)
inline

Definition at line 194 of file smoothDataI.H.

References smoothData::value().

Referenced by smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator== ( const smoothData rhs) const
inline

Definition at line 203 of file smoothDataI.H.

References smoothData::value().

Referenced by smoothData::equal(), and smoothData::value().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const smoothData rhs) const
inline

Definition at line 212 of file smoothDataI.H.

Referenced by smoothData::value().

Here is the caller graph for this function:

Friends And Related Function Documentation

Ostream& operator<< ( Ostream os,
const smoothData svf 
)
friend

Definition at line 206 of file smoothData.H.

Istream& operator>> ( Istream is,
smoothData svf 
)
friend

Definition at line 214 of file smoothData.H.


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