patchEdgeFaceInfo Class Reference

Public Member Functions

 patchEdgeFaceInfo ()
 Construct null. More...
 
 patchEdgeFaceInfo (const point &, const scalar)
 Construct from origin, distance. More...
 
 patchEdgeFaceInfo (const patchEdgeFaceInfo &)
 Construct as copy. 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/3]

patchEdgeFaceInfo ( )
inline

Construct null.

Definition at line 123 of file patchEdgeFaceInfoI.H.

◆ patchEdgeFaceInfo() [2/3]

patchEdgeFaceInfo ( const point origin,
const scalar  distSqr 
)
inline

Construct from origin, distance.

Definition at line 132 of file patchEdgeFaceInfoI.H.

◆ patchEdgeFaceInfo() [3/3]

patchEdgeFaceInfo ( const patchEdgeFaceInfo wpt)
inline

Construct as copy.

Definition at line 143 of file patchEdgeFaceInfoI.H.

Member Function Documentation

◆ origin()

const Foam::point & origin ( ) const
inline

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

References VectorSpace< Vector< scalar >, scalar, 3 >::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 173 of file patchEdgeFaceInfoI.H.

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

Influence of face on edge.

Definition at line 187 of file patchEdgeFaceInfoI.H.

References Foam::constant::electromagnetic::e, Foam::foamVersion::patch, and update().

Here is the call 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 210 of file patchEdgeFaceInfoI.H.

References update().

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 225 of file patchEdgeFaceInfoI.H.

References Foam::foamVersion::patch, and update().

Here is the call graph for this function:

◆ equal()

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

Same (like operator==)

Definition at line 241 of file patchEdgeFaceInfoI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const patchEdgeFaceInfo rhs) const
inline

Definition at line 253 of file patchEdgeFaceInfoI.H.

References patchEdgeFaceInfo::origin().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const patchEdgeFaceInfo rhs) const
inline

Definition at line 262 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: