Public Types | Public Member Functions | Friends | List of all members
wallPointData< Type > Class Template Reference

Holds information (coordinate and normal) regarding nearest wall point. More...

Inheritance diagram for wallPointData< Type >:
Inheritance graph
[legend]
Collaboration diagram for wallPointData< Type >:
Collaboration graph
[legend]

Public Types

typedef Type dataType
 

Public Member Functions

 wallPointData ()
 Construct null. More...
 
 wallPointData (const point &origin, const Type &data, const scalar distSqr)
 Construct from origin, normal, distance. More...
 
const Type & data () const
 
Type & data ()
 
template<class TrackingData >
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const label thisFaceI, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
- Public Member Functions inherited from wallPoint
 wallPoint ()
 Construct null. More...
 
 wallPoint (const point &origin, const scalar distSqr)
 Construct from origin, distance. More...
 
 wallPoint (const wallPoint &)
 Construct as copy. More...
 
const pointorigin () const
 
pointorigin ()
 
scalar distSqr () const
 
scalar & distSqr ()
 
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 wallPoint &, const scalar, TrackingData &td) const
 Check for identical geometrical data. Used for cyclics checking. 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 (patch)face. 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 wallPoint &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 wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFaceI, const wallPoint &neighbourInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
template<class TrackingData >
bool equal (const wallPoint &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const wallPoint &) const
 
bool operator!= (const wallPoint &) const
 

Friends

Ostreamoperator (Ostream &, const wallPointData< Type > &)
 
Istreamoperator>> (Istream &, wallPointData< Type > &)
 

Detailed Description

template<class Type>
class Foam::wallPointData< Type >

Holds information (coordinate and normal) regarding nearest wall point.

Is like wallPoint but transfer extra (passive) data. Used e.g. in wall distance calculation with wall reflection vectors.

Source files

Definition at line 48 of file wallPointData.H.

Member Typedef Documentation

typedef Type dataType

Definition at line 88 of file wallPointData.H.

Constructor & Destructor Documentation

wallPointData ( )
inline

Construct null.

Definition at line 79 of file wallPointDataI.H.

wallPointData ( const point origin,
const Type &  data,
const scalar  distSqr 
)
inline

Construct from origin, normal, distance.

Definition at line 89 of file wallPointDataI.H.

Member Function Documentation

const Type & data ( ) const
inline

Definition at line 103 of file wallPointDataI.H.

Type & data ( )
inline

Definition at line 110 of file wallPointDataI.H.

References wallPointData< Type >::updateCell().

Here is the call graph for this function:

bool updateCell ( const polyMesh mesh,
const label  thisCellI,
const label  neighbourFaceI,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Calls update(...) with cellCentre of cellI

Definition at line 120 of file wallPointDataI.H.

References wallPointData< Type >::updateFace().

Referenced by wallPointData< Type >::data().

Here is the call graph for this function:

Here is the caller graph for this function:

bool updateFace ( const polyMesh mesh,
const label  thisFaceI,
const label  neighbourCellI,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Calls update(...) with faceCentre of faceI

Definition at line 145 of file wallPointDataI.H.

References primitiveMesh::faceCentres().

Referenced by wallPointData< Type >::updateCell().

Here is the call graph for this function:

Here is the caller graph for this function:

bool updateFace ( const polyMesh mesh,
const label  thisFaceI,
const wallPointData< Type > &  neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of different value on same face.

Merge new and old info. Calls update(...) with faceCentre of faceI

Definition at line 170 of file wallPointDataI.H.

References primitiveMesh::faceCentres().

Here is the call graph for this function:

Friends And Related Function Documentation

Ostream& operator ( Ostream ,
const wallPointData< Type > &   
)
friend
Istream& operator>> ( Istream ,
wallPointData< Type > &   
)
friend

Definition at line 51 of file wallPointData.C.


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