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
 

Public Member Functions

 smoothData (const smoothData &)=default
 
smoothDataoperator= (const smoothData &)=default
 
 smoothData ()
 
 smoothData (const scalar value)
 
scalar value () const
 
scalar & value ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const smoothData &, 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 smoothData &svf, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const smoothData &svf, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const smoothData &svf, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const smoothData &, TrackingData &td) const
 
void operator= (const scalar value)
 
bool operator== (const smoothData &) const
 
bool operator!= (const smoothData &) const
 

Friends

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

Detailed Description

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

Source files

Definition at line 52 of file smoothData.H.

Constructor & Destructor Documentation

◆ smoothData() [1/3]

smoothData ( const smoothData )
default

◆ smoothData() [2/3]

smoothData ( )
inline

Definition at line 60 of file smoothDataI.H.

◆ smoothData() [3/3]

smoothData ( const scalar  value)
inline

Definition at line 66 of file smoothDataI.H.

Member Function Documentation

◆ operator=() [1/2]

smoothData& operator= ( const smoothData )
default

◆ value() [1/2]

scalar value ( ) const
inline

Definition at line 108 of file smoothData.H.

Referenced by smoothData::operator=().

Here is the caller graph for this function:

◆ value() [2/2]

scalar& value ( )
inline

Definition at line 114 of file smoothData.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 75 of file smoothDataI.H.

◆ sameGeometry()

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

Definition at line 83 of file smoothDataI.H.

◆ leaveDomain()

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

Definition at line 96 of file smoothDataI.H.

◆ enterDomain()

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

Definition at line 118 of file smoothDataI.H.

◆ transform()

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

Definition at line 108 of file smoothDataI.H.

◆ updateCell()

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

Definition at line 130 of file smoothDataI.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 smoothData svf,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 146 of file smoothDataI.H.

References update().

Here is the call graph for this function:

◆ updateFace() [2/2]

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

Definition at line 163 of file smoothDataI.H.

References update().

Here is the call graph for this function:

◆ equal()

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

Definition at line 178 of file smoothDataI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator=() [2/2]

void operator= ( const scalar  value)
inline

Definition at line 211 of file smoothData.H.

References smoothData::value().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const smoothData rhs) const
inline

Definition at line 190 of file smoothDataI.H.

◆ operator!=()

bool operator!= ( const smoothData rhs) const
inline

Definition at line 199 of file smoothDataI.H.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 225 of file smoothData.H.

◆ operator>>

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

Definition at line 230 of file smoothData.H.


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