PatchEdgeFacePointData< Type > Class Template Reference

Transport of nearest point location, plus data, for use in PatchEdgeFaceWave. More...

Inheritance diagram for PatchEdgeFacePointData< Type >:
Collaboration diagram for PatchEdgeFacePointData< Type >:

Public Member Functions

 PatchEdgeFacePointData ()
 Construct null. More...
 
 PatchEdgeFacePointData (const Type &, const point &, const scalar)
 Construct from data, origin, distance. More...
 
const Type & data () const
 
Type & data ()
 
template<class TrackingData >
const Type & data (TrackingData &td) const
 
template<class TrackingData >
void transform (const polyMesh &mesh, const primitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
 Apply rotation matrix. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const primitivePatch &patch, const label edgei, const label facei, const PatchEdgeFacePointData< Type > &faceInfo, const scalar tol, TrackingData &td)
 Influence of face on edge. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const primitivePatch &patch, const PatchEdgeFacePointData< Type > &edgeInfo, const bool sameOrientation, const scalar tol, TrackingData &td)
 New information for edge (from e.g. coupled edge) More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const primitivePatch &patch, const label facei, const label edgei, const PatchEdgeFacePointData< Type > &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on face. More...
 
- Public Member Functions inherited from patchEdgeFacePoint
 patchEdgeFacePoint ()
 Construct null. More...
 
 patchEdgeFacePoint (const point &, const scalar)
 Construct from origin, distance. More...
 
const pointorigin () const
 
scalar distSqr () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class TrackingData >
void transform (const polyMesh &mesh, const primitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
 Apply rotation matrix. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const primitivePatch &patch, const label edgei, const label facei, const patchEdgeFacePoint &faceInfo, const scalar tol, TrackingData &td)
 Influence of face on edge. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const primitivePatch &patch, const patchEdgeFacePoint &edgeInfo, const bool sameOrientation, const scalar tol, TrackingData &td)
 New information for edge (from e.g. coupled edge) More...
 
template<class TrackingData >
bool updateFace (const polyMesh &mesh, const primitivePatch &patch, const label facei, const label edgei, const patchEdgeFacePoint &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on face. More...
 
template<class TrackingData >
bool equal (const patchEdgeFacePoint &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const patchEdgeFacePoint &) const
 
bool operator!= (const patchEdgeFacePoint &) const
 

Friends

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

Detailed Description

template<class Type>
class Foam::PatchEdgeFacePointData< Type >

Transport of nearest point location, plus data, for use in PatchEdgeFaceWave.

Source files

Definition at line 62 of file PatchEdgeFacePointData.H.

Constructor & Destructor Documentation

◆ PatchEdgeFacePointData() [1/2]

Construct null.

Definition at line 31 of file PatchEdgeFacePointDataI.H.

◆ PatchEdgeFacePointData() [2/2]

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

Construct from data, origin, distance.

Definition at line 39 of file PatchEdgeFacePointDataI.H.

Member Function Documentation

◆ data() [1/3]

const Type & data
inline

Definition at line 54 of file PatchEdgeFacePointDataI.H.

◆ data() [2/3]

Type & data
inline

Definition at line 61 of file PatchEdgeFacePointDataI.H.

◆ data() [3/3]

const Type & data ( TrackingData &  td) const
inline

Definition at line 69 of file PatchEdgeFacePointDataI.H.

◆ transform()

void transform ( const polyMesh mesh,
const primitivePatch patch,
const tensor rotTensor,
const scalar  tol,
TrackingData &  td 
)
inline

Apply rotation matrix.

Definition at line 80 of file PatchEdgeFacePointDataI.H.

References Foam::transform(), and patchEdgeFacePoint::transform().

Here is the call graph for this function:

◆ updateEdge() [1/2]

bool updateEdge ( const polyMesh mesh,
const primitivePatch patch,
const label  edgei,
const label  facei,
const PatchEdgeFacePointData< Type > &  faceInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of face on edge.

Definition at line 97 of file PatchEdgeFacePointDataI.H.

References patchEdgeFacePoint::updateEdge().

Here is the call graph for this function:

◆ updateEdge() [2/2]

bool updateEdge ( const polyMesh mesh,
const primitivePatch patch,
const PatchEdgeFacePointData< Type > &  edgeInfo,
const bool  sameOrientation,
const scalar  tol,
TrackingData &  td 
)
inline

New information for edge (from e.g. coupled edge)

Definition at line 131 of file PatchEdgeFacePointDataI.H.

References patchEdgeFacePoint::updateEdge().

Here is the call graph for this function:

◆ updateFace()

bool updateFace ( const polyMesh mesh,
const primitivePatch patch,
const label  facei,
const label  edgei,
const PatchEdgeFacePointData< Type > &  edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of edge on face.

Definition at line 163 of file PatchEdgeFacePointDataI.H.

References patchEdgeFacePoint::updateFace().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const PatchEdgeFacePointData< Type > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
PatchEdgeFacePointData< Type > &   
)
friend

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