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 () |
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.
Definition at line 50 of file repatchPolyTopoChanger.H.
|
explicit |
Definition at line 45 of file repatchPolyTopoChanger.C.
|
virtualdefault |
Definition at line 55 of file repatchPolyTopoChanger.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and patches.
Referenced by boundaryMesh::patchify().
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().
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.
void changeAnchorPoint | ( | const label | faceID, |
const label | fp | ||
) |
Definition at line 161 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::expressions::patchExpr::debug, f(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), forAll, patchID, faceZone::whichFace(), and zoneID.
void repatch | ( | ) |
Definition at line 257 of file repatchPolyTopoChanger.C.
Referenced by boundaryMesh::patchify().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.