Public Member Functions | List of all members
repatchPolyTopoChanger Class Reference

A mesh which allows changes in the patch distribution of the boundary faces. The change in patching is set using changePatchID. For a boundary face, a new patch ID is given. More...

Public Member Functions

 repatchPolyTopoChanger (polyMesh &mesh)
 
virtual ~repatchPolyTopoChanger ()=default
 
void changePatches (const List< polyPatch * > &patches)
 
void changePatchID (const label faceID, const label patchID)
 
void setFaceZone (const label faceID, const label zoneID, const bool zoneFlip)
 
void changeAnchorPoint (const label faceID, const label fp)
 
void repatch ()
 

Detailed Description

A mesh which allows changes in the patch distribution of the boundary faces. The change in patching is set using changePatchID. For a boundary face, a new patch ID is given.

Source files

Definition at line 50 of file repatchPolyTopoChanger.H.

Constructor & Destructor Documentation

◆ repatchPolyTopoChanger()

repatchPolyTopoChanger ( polyMesh mesh)
explicit

Definition at line 45 of file repatchPolyTopoChanger.C.

◆ ~repatchPolyTopoChanger()

virtual ~repatchPolyTopoChanger ( )
virtualdefault

Member Function Documentation

◆ changePatches()

void changePatches ( const List< polyPatch * > &  patches)

Definition at line 55 of file repatchPolyTopoChanger.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and patches.

Referenced by boundaryMesh::patchify().

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

◆ changePatchID()

void changePatchID ( const label  faceID,
const label  patchID 
)

Definition at line 73 of file repatchPolyTopoChanger.C.

References Foam::abort(), Foam::expressions::patchExpr::debug, Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), patchID, faceZone::whichFace(), and zoneID.

Referenced by boundaryMesh::patchify().

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

◆ setFaceZone()

void setFaceZone ( const label  faceID,
const label  zoneID,
const bool  zoneFlip 
)

Definition at line 125 of file repatchPolyTopoChanger.C.

References Foam::abort(), Foam::expressions::patchExpr::debug, Foam::FatalError, FatalErrorInFunction, and zoneID.

Here is the call graph for this function:

◆ changeAnchorPoint()

void changeAnchorPoint ( const label  faceID,
const label  fp 
)

◆ repatch()

void repatch ( )

Definition at line 257 of file repatchPolyTopoChanger.C.

Referenced by boundaryMesh::patchify().

Here is the caller graph for this function:

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