patchEdgeFaceRegions Class Reference

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

Public Member Functions

 patchEdgeFaceRegions ()
 Default construct. More...
 
 patchEdgeFaceRegions (const labelList &regions)
 Construct from regions. More...
 
 patchEdgeFaceRegions (const labelPair &regions)
 Construct from regions (on edge) More...
 
const labelListregions () const
 
labelListregions ()
 
template<class TrackingData >
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value. 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
 Test for equality, with TrackingData. More...
 
bool operator== (const patchEdgeFaceRegions &) const
 Test for equality. More...
 
bool operator!= (const patchEdgeFaceRegions &) const
 Test for inequality. More...
 

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 63 of file patchEdgeFaceRegions.H.

Constructor & Destructor Documentation

◆ patchEdgeFaceRegions() [1/3]

Default construct.

Definition at line 33 of file patchEdgeFaceRegionsI.H.

◆ patchEdgeFaceRegions() [2/3]

patchEdgeFaceRegions ( const labelList regions)
inline

Construct from regions.

Definition at line 37 of file patchEdgeFaceRegionsI.H.

◆ patchEdgeFaceRegions() [3/3]

patchEdgeFaceRegions ( const labelPair regions)
inline

Construct from regions (on edge)

Definition at line 46 of file patchEdgeFaceRegionsI.H.

References patchEdgeFaceRegions::regions().

Here is the call graph for this function:

Member Function Documentation

◆ regions() [1/2]

const labelList & regions ( ) const
inline

Definition at line 88 of file patchEdgeFaceRegions.H.

Referenced by patchEdgeFaceRegions::patchEdgeFaceRegions().

Here is the caller graph for this function:

◆ regions() [2/2]

labelList & regions ( )
inline

Definition at line 92 of file patchEdgeFaceRegions.H.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Changed or contains original (invalid) value.

Definition at line 61 of file patchEdgeFaceRegionsI.H.

References Foam::labelMax.

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

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 68 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

Influence of face on edge.

Definition at line 80 of file patchEdgeFaceRegionsI.H.

References Foam::abort(), e, f(), Foam::FatalError, FatalErrorInFunction, UList< T >::fcIndex(), Pair< T >::flip(), forAll, edge::found(), Foam::labelMax, FixedList< T, N >::size(), and patchEdgeFaceRegions::valid().

Here is the call graph for this function:

◆ 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 137 of file patchEdgeFaceRegionsI.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Pair< T >::flip(), forAll, edge::found(), Foam::labelMax, FixedList< T, N >::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 184 of file patchEdgeFaceRegionsI.H.

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

Here is the call graph for this function:

◆ equal()

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

Test for equality, with TrackingData.

Definition at line 249 of file patchEdgeFaceRegionsI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const patchEdgeFaceRegions rhs) const
inline

Test for equality.

Definition at line 261 of file patchEdgeFaceRegionsI.H.

◆ operator!=()

bool operator!= ( const patchEdgeFaceRegions rhs) const
inline

Test for inequality.

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