patchEdgeFaceInfo Class Reference

Public Member Functions

 patchEdgeFaceInfo ()
 Construct null. More...
 
 patchEdgeFaceInfo (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 patchEdgeFaceInfo &faceInfo, const scalar tol, TrackingData &td)
 Influence of face on edge. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const primitivePatch &patch, const patchEdgeFaceInfo &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 patchEdgeFaceInfo &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on face. More...
 
template<class TrackingData >
bool equal (const patchEdgeFaceInfo &, TrackingData &td) const
 Same (like operator==) More...
 
bool operator== (const patchEdgeFaceInfo &) const
 
bool operator!= (const patchEdgeFaceInfo &) const
 

Friends

Ostreamoperator<< (Ostream &, const patchEdgeFaceInfo &)
 
Istreamoperator>> (Istream &, patchEdgeFaceInfo &)
 

Detailed Description

Constructor & Destructor Documentation

◆ patchEdgeFaceInfo() [1/2]

patchEdgeFaceInfo ( )
inline

Construct null.

Definition at line 120 of file patchEdgeFaceInfoI.H.

◆ patchEdgeFaceInfo() [2/2]

patchEdgeFaceInfo ( const point origin,
const scalar  distSqr 
)
inline

Construct from origin, distance.

Definition at line 128 of file patchEdgeFaceInfoI.H.

Member Function Documentation

◆ origin()

const Foam::point & origin ( ) const
inline

Definition at line 140 of file patchEdgeFaceInfoI.H.

Referenced by patchEdgeFaceInfo::operator==().

Here is the caller graph for this function:

◆ distSqr()

Foam::scalar distSqr ( ) const
inline

Definition at line 146 of file patchEdgeFaceInfoI.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 patchEdgeFaceInfoI.H.

References VectorSpace< Vector< scalar >, scalar, 3 >::max, and patchEdgeFaceInfo::transform().

Here is the call graph for this function:

◆ transform()

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

Apply rotation matrix.

Definition at line 161 of file patchEdgeFaceInfoI.H.

References Foam::transform(), and patchEdgeFaceInfo::updateEdge().

Referenced by patchEdgeFaceInfo::valid().

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 patchEdgeFaceInfo faceInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Influence of face on edge.

Definition at line 175 of file patchEdgeFaceInfoI.H.

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

Referenced by patchEdgeFaceInfo::transform().

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 patchEdgeFaceInfo edgeInfo,
const bool  sameOrientation,
const scalar  tol,
TrackingData &  td 
)
inline

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

Definition at line 198 of file patchEdgeFaceInfoI.H.

References patchEdgeFaceInfo::updateFace().

Here is the call graph for this function:

◆ updateFace()

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

Influence of edge on face.

Definition at line 213 of file patchEdgeFaceInfoI.H.

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

Referenced by patchEdgeFaceInfo::updateEdge().

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

◆ equal()

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

Same (like operator==)

Definition at line 229 of file patchEdgeFaceInfoI.H.

References patchEdgeFaceInfo::operator==().

Referenced by patchEdgeFaceInfo::updateFace().

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

◆ operator==()

bool operator== ( const patchEdgeFaceInfo rhs) const
inline

Definition at line 241 of file patchEdgeFaceInfoI.H.

References patchEdgeFaceInfo::origin().

Referenced by patchEdgeFaceInfo::equal().

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

◆ operator!=()

bool operator!= ( const patchEdgeFaceInfo rhs) const
inline

Definition at line 250 of file patchEdgeFaceInfoI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
patchEdgeFaceInfo  
)
friend

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