Public Member Functions | Static Public Member Functions | List of all members
PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData > Class Template Reference

Wave propagation of information along patch. Every iteration information goes through one layer of faces. Templated on information that is transferred. More...

Inheritance diagram for PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >:
Inheritance graph
[legend]
Collaboration diagram for PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >:
Collaboration graph
[legend]

Public Member Functions

 PatchEdgeFaceWave (const polyMesh &mesh, const PrimitivePatchType &patch, const labelList &initialEdges, const List< Type > &initialEdgesInfo, UList< Type > &allEdgeInfo, UList< Type > &allFaceInfo, const label maxIter, TrackingData &td=dummyTrackData_)
 
 PatchEdgeFaceWave (const polyMesh &mesh, const PrimitivePatchType &patch, UList< Type > &allEdgeInfo, UList< Type > &allFaceInfo, TrackingData &td=dummyTrackData_)
 
UList< Type > & allEdgeInfo () const
 
UList< Type > & allFaceInfo () const
 
const TrackingData & data () const
 
label nUnvisitedFaces () const
 
label nUnvisitedEdges () const
 
void setEdgeInfo (const labelList &changedEdges, const List< Type > &changedEdgesInfo)
 
label edgeToFace ()
 
label faceToEdge ()
 
label iterate (const label maxIter)
 

Static Public Member Functions

static scalar propagationTol ()
 
static void setPropagationTol (const scalar tol)
 

Detailed Description

template<class PrimitivePatchType, class Type, class TrackingData = label>
class Foam::PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >

Wave propagation of information along patch. Every iteration information goes through one layer of faces. Templated on information that is transferred.

Source files

Definition at line 68 of file PatchEdgeFaceWave.H.

Constructor & Destructor Documentation

◆ PatchEdgeFaceWave() [1/2]

PatchEdgeFaceWave ( const polyMesh mesh,
const PrimitivePatchType &  patch,
const labelList initialEdges,
const List< Type > &  initialEdgesInfo,
UList< Type > &  allEdgeInfo,
UList< Type > &  allFaceInfo,
const label  maxIter,
TrackingData &  td = dummyTrackData_ 
)

Definition at line 284 of file PatchEdgeFaceWave.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::Pout.

Here is the call graph for this function:

◆ PatchEdgeFaceWave() [2/2]

PatchEdgeFaceWave ( const polyMesh mesh,
const PrimitivePatchType &  patch,
UList< Type > &  allEdgeInfo,
UList< Type > &  allFaceInfo,
TrackingData &  td = dummyTrackData_ 
)

Definition at line 374 of file PatchEdgeFaceWave.C.

Member Function Documentation

◆ propagationTol()

static scalar propagationTol ( )
inlinestatic

Definition at line 163 of file PatchEdgeFaceWave.H.

◆ setPropagationTol()

static void setPropagationTol ( const scalar  tol)
inlinestatic

Definition at line 169 of file PatchEdgeFaceWave.H.

◆ allEdgeInfo()

UList<Type>& allEdgeInfo ( ) const
inline

Definition at line 210 of file PatchEdgeFaceWave.H.

◆ allFaceInfo()

UList<Type>& allFaceInfo ( ) const
inline

Definition at line 216 of file PatchEdgeFaceWave.H.

◆ data()

const TrackingData& data ( ) const
inline

Definition at line 222 of file PatchEdgeFaceWave.H.

◆ nUnvisitedFaces()

label nUnvisitedFaces ( ) const
inline

Definition at line 234 of file PatchEdgeFaceWave.H.

◆ nUnvisitedEdges()

label nUnvisitedEdges ( ) const
inline

Definition at line 239 of file PatchEdgeFaceWave.H.

◆ setEdgeInfo()

void setEdgeInfo ( const labelList changedEdges,
const List< Type > &  changedEdgesInfo 
)

Definition at line 420 of file PatchEdgeFaceWave.C.

References forAll, and List::set().

Here is the call graph for this function:

◆ edgeToFace()

Foam::label edgeToFace

◆ faceToEdge()

Foam::label faceToEdge

◆ iterate()

Foam::label iterate ( const label  maxIter)

Definition at line 584 of file PatchEdgeFaceWave.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::nl, and Foam::Pout.

Here is the call graph for this function:

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