transportData Class Reference

Holds information (coordinate and distance). Walks out 0.5*distance. More...

Inheritance diagram for transportData:
Collaboration diagram for transportData:

Classes

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

Public Member Functions

 transportData ()
 Construct null. More...
 
 transportData (const point &origin, const scalar gapSize, const scalar distSqr)
 Construct from origin, gapSize, distance. More...
 
template<class TrackingData >
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const transportData &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 transportData &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const label thisFaceI, const transportData &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
- Public Member Functions inherited from wallPointData< scalar >
 wallPointData ()
 Default construct. More...
 
 wallPointData (const point &origin, const scalar &data, const scalar distSqr)
 Construct from origin, normal, distance. More...
 
const scalar & data () const
 
scalar & data ()
 
bool updateCell (const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const wallPointData< scalar > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring face. More...
 
bool updateFace (const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const wallPointData< scalar > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of neighbouring cell. More...
 
bool updateFace (const polyMesh &mesh, const label thisFacei, const wallPointData< scalar > &neighbourWallInfo, const scalar tol, TrackingData &td)
 Influence of different value on same face. More...
 
- Public Member Functions inherited from wallPoint
 wallPoint ()
 Default construct. More...
 
 wallPoint (const point &origin, const scalar distSqr)
 Construct from origin, distance-squared. More...
 
const pointorigin () const
 
pointorigin ()
 
scalar distSqr () const
 
scalar & distSqr ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value. More...
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const wallPoint &, 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)
 Convert any absolute coordinates into relative to (patch)face centre. 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
 Test for equality, with TrackingData. More...
 
bool operator== (const wallPoint &) const
 Test for equality. More...
 
bool operator!= (const wallPoint &) const
 Test for inequality. More...
 

Additional Inherited Members

- Public Types inherited from wallPointData< scalar >
typedef scalar dataType
 Type of additional data carried. More...
 

Detailed Description

Holds information (coordinate and distance). Walks out 0.5*distance.

Source files

Definition at line 50 of file transportData.H.

Constructor & Destructor Documentation

◆ transportData() [1/2]

transportData ( )
inline

Construct null.

Definition at line 75 of file transportDataI.H.

◆ transportData() [2/2]

transportData ( const point origin,
const scalar  gapSize,
const scalar  distSqr 
)
inline

Construct from origin, gapSize, distance.

Definition at line 82 of file transportDataI.H.

Member Function Documentation

◆ updateCell()

bool updateCell ( const polyMesh mesh,
const label  thisCellI,
const label  neighbourFaceI,
const transportData neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring face.

Calls update(...) with cellCentre of cellI

Definition at line 96 of file transportDataI.H.

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

Here is the call graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFaceI,
const label  neighbourCellI,
const transportData neighbourWallInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of neighbouring cell.

Calls update(...) with faceCentre of faceI

Definition at line 126 of file transportDataI.H.

References primitiveMesh::faceCentres(), mesh, td(), and update().

Here is the call graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFaceI,
const transportData 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 152 of file transportDataI.H.

References primitiveMesh::faceCentres(), mesh, td(), and update().

Here is the call graph for this function:

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