patchEdgeFacePoint Class Reference

Transport of nearest point location for use in PatchEdgeFaceWave. More...

Inheritance diagram for patchEdgeFacePoint:

Public Member Functions

 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 patchEdgeFacePoint &)
 
Istreamoperator>> (Istream &, patchEdgeFacePoint &)
 

Detailed Description

Transport of nearest point location for use in PatchEdgeFaceWave.

Source files

Definition at line 67 of file patchEdgeFacePoint.H.

Constructor & Destructor Documentation

◆ patchEdgeFacePoint() [1/2]

patchEdgeFacePoint ( )
inline

Construct null.

Definition at line 120 of file patchEdgeFacePointI.H.

◆ patchEdgeFacePoint() [2/2]

patchEdgeFacePoint ( const point origin,
const scalar  distSqr 
)
inline

Construct from origin, distance.

Definition at line 127 of file patchEdgeFacePointI.H.

Member Function Documentation

◆ origin()

const Foam::point & origin ( ) const
inline

Definition at line 140 of file patchEdgeFacePointI.H.

◆ distSqr()

Foam::scalar distSqr ( ) const
inline

Definition at line 146 of file patchEdgeFacePointI.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 153 of file patchEdgeFacePointI.H.

References VectorSpace< Form, Cmpt, Ncmpts >::max.

◆ transform()

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

Apply rotation matrix.

Definition at line 160 of file patchEdgeFacePointI.H.

References Foam::transform().

Referenced by PatchEdgeFacePointData< Type >::transform().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateEdge() [1/2]

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

Influence of face on edge.

Definition at line 174 of file patchEdgeFacePointI.H.

References Foam::e, PrimitivePatch< FaceList, PointField >::edges(), PrimitivePatch< FaceList, PointField >::meshPoints(), and PrimitivePatch< FaceList, PointField >::points().

Referenced by PatchEdgeFacePointData< Type >::updateEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateEdge() [2/2]

bool updateEdge ( const polyMesh mesh,
const primitivePatch patch,
const patchEdgeFacePoint edgeInfo,
const bool  sameOrientation,
const scalar  tol,
TrackingData &  td 
)
inline

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

Definition at line 197 of file patchEdgeFacePointI.H.

◆ updateFace()

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

Influence of edge on face.

Definition at line 212 of file patchEdgeFacePointI.H.

References PrimitivePatch< FaceList, PointField >::faceCentres().

Referenced by PatchEdgeFacePointData< Type >::updateFace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ equal()

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

Same (like operator==)

Definition at line 228 of file patchEdgeFacePointI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const patchEdgeFacePoint rhs) const
inline

Definition at line 240 of file patchEdgeFacePointI.H.

◆ operator!=()

bool operator!= ( const patchEdgeFacePoint rhs) const
inline

Definition at line 249 of file patchEdgeFacePointI.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const patchEdgeFacePoint  
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
patchEdgeFacePoint  
)
friend

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