Public Member Functions | Friends | List of all members
patchFaceOrientation Class Reference

Transport of orientation for use in PatchEdgeFaceWave. More...

Public Member Functions

 patchFaceOrientation ()
 Construct null. More...
 
 patchFaceOrientation (const label)
 Construct from components. More...
 
label flipStatus () const
 Orientation. More...
 
void flip ()
 Reverse orientation. More...
 
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 indirectPrimitivePatch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
 Apply rotation matrix. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const indirectPrimitivePatch &patch, const label edgeI, const label faceI, const patchFaceOrientation &faceInfo, const scalar tol, TrackingData &td)
 Influence of face on edge. More...
 
template<class TrackingData >
bool updateEdge (const polyMesh &mesh, const indirectPrimitivePatch &patch, const patchFaceOrientation &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 indirectPrimitivePatch &patch, const label faceI, const label edgeI, const patchFaceOrientation &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on face. More...
 
template<class TrackingData >
bool equal (const patchFaceOrientation &, TrackingData &) const
 Same (like operator==) More...
 
bool operator== (const patchFaceOrientation &) const
 
bool operator!= (const patchFaceOrientation &) const
 

Friends

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

Detailed Description

Transport of orientation for use in PatchEdgeFaceWave.

Source files

Definition at line 53 of file patchFaceOrientation.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 32 of file patchFaceOrientationI.H.

patchFaceOrientation ( const label  flipStatus)
inline

Construct from components.

Definition at line 39 of file patchFaceOrientationI.H.

Member Function Documentation

Foam::label flipStatus ( ) const
inline

Orientation.

Definition at line 49 of file patchFaceOrientationI.H.

Referenced by patchFaceOrientation::operator==().

Here is the caller graph for this function:

void flip ( )
inline

Reverse orientation.

Definition at line 55 of file patchFaceOrientationI.H.

References orientedSurface::FLIP, and orientedSurface::NOFLIP.

Referenced by meshRefinement::mergeBaffles(), patchFaceOrientation::updateEdge(), and patchFaceOrientation::updateFace().

Here is the caller graph for this function:

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 69 of file patchFaceOrientationI.H.

References patchFaceOrientation::transform(), and orientedSurface::UNVISITED.

Referenced by patchFaceOrientation::updateEdge(), and patchFaceOrientation::updateFace().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Apply rotation matrix.

Definition at line 77 of file patchFaceOrientationI.H.

References patchFaceOrientation::updateEdge().

Referenced by patchFaceOrientation::valid().

Here is the call graph for this function:

Here is the caller graph for this function:

bool updateEdge ( const polyMesh mesh,
const indirectPrimitivePatch patch,
const label  edgeI,
const label  faceI,
const patchFaceOrientation faceInfo,
const scalar  tol,
TrackingData &  td 
)
inline
bool updateEdge ( const polyMesh mesh,
const indirectPrimitivePatch patch,
const patchFaceOrientation edgeInfo,
const bool  sameOrientation,
const scalar  tol,
TrackingData &  td 
)
inline

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

Definition at line 127 of file patchFaceOrientationI.H.

References patchFaceOrientation::flip(), patchFaceOrientation::updateFace(), and patchFaceOrientation::valid().

Here is the call graph for this function:

bool updateFace ( const polyMesh mesh,
const indirectPrimitivePatch patch,
const label  faceI,
const label  edgeI,
const patchFaceOrientation edgeInfo,
const scalar  tol,
TrackingData &  td 
)
inline
bool equal ( const patchFaceOrientation rhs,
TrackingData &  td 
) const
inline

Same (like operator==)

Definition at line 198 of file patchFaceOrientationI.H.

References patchFaceOrientation::operator==().

Referenced by patchFaceOrientation::updateFace().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator== ( const patchFaceOrientation rhs) const
inline

Definition at line 210 of file patchFaceOrientationI.H.

References patchFaceOrientation::flipStatus().

Referenced by patchFaceOrientation::equal().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const patchFaceOrientation rhs) const
inline

Definition at line 219 of file patchFaceOrientationI.H.

Friends And Related Function Documentation

Ostream& operator<< ( Ostream ,
const patchFaceOrientation  
)
friend
Istream& operator>> ( Istream ,
patchFaceOrientation  
)
friend

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