Loading...
Searching...
No Matches
patchEdgeFaceRegions Class Reference

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

#include <patchEdgeFaceRegions.H>

Public Member Functions

 patchEdgeFaceRegions ()
 Default construct.
 patchEdgeFaceRegions (const labelList &regions)
 Construct from regions.
 patchEdgeFaceRegions (const labelPair &regions)
 Construct from regions (on edge).
const labelListregions () const
labelListregions ()
template<class TrackingData>
bool valid (TrackingData &td) const
 Changed or contains original (invalid) value.
template<class Patch, class TrackingData>
void transform (const polyMesh &mesh, const Patch &patch, const tensor &rotTensor, const scalar tol, TrackingData &td)
 Apply rotation matrix.
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.
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).
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.
template<class TrackingData>
bool equal (const patchEdgeFaceRegions &, TrackingData &) const
 Test for equality, with TrackingData.
bool operator== (const patchEdgeFaceRegions &) const
 Test for equality.
bool operator!= (const patchEdgeFaceRegions &) const
 Test for inequality.

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

Constructor & Destructor Documentation

◆ patchEdgeFaceRegions() [1/3]

patchEdgeFaceRegions ( )
inline

Default construct.

Definition at line 26 of file patchEdgeFaceRegionsI.H.

Referenced by equal(), operator!=(), operator<<, operator==(), operator>>, updateEdge(), updateEdge(), and updateFace().

Here is the caller graph for this function:

◆ patchEdgeFaceRegions() [2/3]

patchEdgeFaceRegions ( const labelList & regions)
inline

Construct from regions.

Definition at line 30 of file patchEdgeFaceRegionsI.H.

References regions().

Here is the call graph for this function:

◆ patchEdgeFaceRegions() [3/3]

patchEdgeFaceRegions ( const labelPair & regions)
inline

Construct from regions (on edge).

Definition at line 39 of file patchEdgeFaceRegionsI.H.

References regions().

Here is the call graph for this function:

Member Function Documentation

◆ regions() [1/2]

const labelList & regions ( ) const
inline

Definition at line 92 of file patchEdgeFaceRegions.H.

Referenced by patchEdgeFaceRegions(), and patchEdgeFaceRegions().

Here is the caller graph for this function:

◆ regions() [2/2]

labelList & regions ( )
inline

Definition at line 96 of file patchEdgeFaceRegions.H.

◆ valid()

template<class TrackingData>
bool valid ( TrackingData & td) const
inline

Changed or contains original (invalid) value.

Definition at line 54 of file patchEdgeFaceRegionsI.H.

References Foam::labelMax, and td().

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

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

◆ transform()

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

Apply rotation matrix.

Definition at line 61 of file patchEdgeFaceRegionsI.H.

References mesh, and td().

Here is the call graph for this function:

◆ updateEdge() [1/2]

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 )
inline

Influence of face on edge.

Definition at line 73 of file patchEdgeFaceRegionsI.H.

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

Here is the call graph for this function:

◆ updateEdge() [2/2]

template<class Patch, class TrackingData>
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 130 of file patchEdgeFaceRegionsI.H.

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

Here is the call graph for this function:

◆ updateFace()

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 )
inline

Influence of edge on face.

Definition at line 177 of file patchEdgeFaceRegionsI.H.

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

Here is the call graph for this function:

◆ equal()

template<class TrackingData>
bool equal ( const patchEdgeFaceRegions & rhs,
TrackingData & td ) const
inline

Test for equality, with TrackingData.

Definition at line 242 of file patchEdgeFaceRegionsI.H.

References Foam::operator==(), patchEdgeFaceRegions(), Foam::rhs(), and td().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const patchEdgeFaceRegions & rhs) const
inline

Test for equality.

Definition at line 254 of file patchEdgeFaceRegionsI.H.

References patchEdgeFaceRegions(), and Foam::rhs().

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const patchEdgeFaceRegions & rhs) const
inline

Test for inequality.

Definition at line 263 of file patchEdgeFaceRegionsI.H.

References patchEdgeFaceRegions(), and Foam::rhs().

Here is the call graph for this function:

◆ operator<<

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

◆ operator>>

Istream & operator>> ( Istream & ,
patchEdgeFaceRegions &  )
friend

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