patchEdgeFaceRegions Class Reference

Transport of regions for use in PatchEdgeFaceWave. Set element to -1 to denote blocked. More...

Public Member Functions

 patchEdgeFaceRegions ()
 Construct null. More...
 
 patchEdgeFaceRegions (const labelList &)
 Construct from regions. More...
 
 patchEdgeFaceRegions (const labelPair &)
 Construct from regions (on edge) More...
 
const labelListregions () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Check whether origin has been changed at all or. More...
 
template<class Patch , class TrackingData >
void transform (const polyMesh &mesh, const Patch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
 Apply rotation matrix. More...
 
template<class Patch , class TrackingData >
bool updateEdge (const polyMesh &mesh, const Patch &patch, const label edgei, const label facei, const patchEdgeFaceRegions &faceInfo, const scalar tol, TrackingData &td)
 Influence of face on edge. More...
 
template<class Patch , class TrackingData >
bool updateEdge (const polyMesh &mesh, const Patch &patch, const patchEdgeFaceRegions &edgeInfo, const bool sameOrientation, const scalar tol, TrackingData &td)
 New information for edge (from e.g. coupled edge) More...
 
template<class Patch , class TrackingData >
bool updateFace (const polyMesh &mesh, const Patch &patch, const label facei, const label edgei, const patchEdgeFaceRegions &edgeInfo, const scalar tol, TrackingData &td)
 Influence of edge on face. More...
 
template<class TrackingData >
bool equal (const patchEdgeFaceRegions &, TrackingData &) const
 Same (like operator==) More...
 
bool operator== (const patchEdgeFaceRegions &) const
 
bool operator!= (const patchEdgeFaceRegions &) const
 

Friends

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

Detailed Description

Transport of regions for use in PatchEdgeFaceWave. Set element to -1 to denote blocked.

Source files

Definition at line 64 of file patchEdgeFaceRegions.H.

Constructor & Destructor Documentation

◆ patchEdgeFaceRegions() [1/3]

Construct null.

Definition at line 30 of file patchEdgeFaceRegionsI.H.

◆ patchEdgeFaceRegions() [2/3]

patchEdgeFaceRegions ( const labelList regions)
inline

Construct from regions.

Definition at line 34 of file patchEdgeFaceRegionsI.H.

◆ patchEdgeFaceRegions() [3/3]

patchEdgeFaceRegions ( const labelPair regions)
inline

Construct from regions (on edge)

Definition at line 43 of file patchEdgeFaceRegionsI.H.

References patchEdgeFaceRegions::regions().

Here is the call graph for this function:

Member Function Documentation

◆ regions()

const Foam::labelList & regions ( ) const
inline

Definition at line 57 of file patchEdgeFaceRegionsI.H.

Referenced by patchEdgeFaceRegions::patchEdgeFaceRegions().

Here is the caller graph for this function:

◆ valid()

bool valid ( TrackingData &  td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 64 of file patchEdgeFaceRegionsI.H.

References Foam::findIndex(), and Foam::labelMax.

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

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

◆ transform()

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

Apply rotation matrix.

Definition at line 71 of file patchEdgeFaceRegionsI.H.

◆ updateEdge() [1/2]

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

◆ updateEdge() [2/2]

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

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

Definition at line 140 of file patchEdgeFaceRegionsI.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), edge::flip(), forAll, Foam::labelMax, FixedList< T, Size >::size(), and patchEdgeFaceRegions::valid().

Here is the call graph for this function:

◆ updateFace()

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

Influence of edge on face.

Definition at line 187 of file patchEdgeFaceRegionsI.H.

References Foam::abort(), Foam::e, f(), Foam::FatalError, FatalErrorInFunction, UList< T >::fcIndex(), Foam::findIndex(), edge::flip(), Foam::labelMax, List< T >::size(), and patchEdgeFaceRegions::valid().

Here is the call graph for this function:

◆ equal()

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

Same (like operator==)

Definition at line 252 of file patchEdgeFaceRegionsI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const patchEdgeFaceRegions rhs) const
inline

Definition at line 264 of file patchEdgeFaceRegionsI.H.

◆ operator!=()

bool operator!= ( const patchEdgeFaceRegions rhs) const
inline

Definition at line 273 of file patchEdgeFaceRegionsI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
patchEdgeFaceRegions  
)
friend

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