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...
#include <dynamicMesh/repatchPolyTopoChanger.H>
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 52 of file repatchPolyTopoChanger.H.
Collaboration diagram for repatchPolyTopoChanger:Public Member Functions | |
| repatchPolyTopoChanger (polyMesh &mesh) | |
| Construct for given mesh.
| |
| virtual | ~repatchPolyTopoChanger () |
| void | changePatches (const List< polyPatch * > &patches) |
| Change patches.
| |
| void | changePatchID (const label faceID, const label patchID) |
| Change patch ID for a boundary face. Note: patchID should be in new.
| |
| void | setFaceZone (const label faceID, const label zoneID, const bool zoneFlip) |
| Set zone ID for a face.
| |
| void | changeAnchorPoint (const label faceID, const label fp) |
| Change anchor point (zero'th point of face) for a boundary face.
| |
| void | repatch () |
| Re-patch the mesh.
| |
| repatchPolyTopoChanger | ( | polyMesh & | mesh ) | [explicit]
|
Construct for given mesh.
Definition at line 52 of file repatchPolyTopoChanger.C.
| virtual ~repatchPolyTopoChanger | ( | ) | [inline, virtual]
|
Definition at line 85 of file repatchPolyTopoChanger.H.
Change patches.
Definition at line 62 of file repatchPolyTopoChanger.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and Foam::nl.
Referenced by boundaryMesh::patchify().
| void changePatchID | ( | const label | faceID, |
| const label | patchID | ||
| ) |
Change patch ID for a boundary face. Note: patchID should be in new.
numbering.
Definition at line 82 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, faceZone::flipMap(), and faceZone::whichFace().
Referenced by boundaryMesh::patchify().
| void setFaceZone | ( | const label | faceID, |
| const label | zoneID, | ||
| const bool | zoneFlip | ||
| ) |
Set zone ID for a face.
Definition at line 141 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
| void changeAnchorPoint | ( | const label | faceID, |
| const label | fp | ||
| ) |
Change anchor point (zero'th point of face) for a boundary face.
Definition at line 185 of file repatchPolyTopoChanger.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorIn, faceZone::flipMap(), List< T >::size(), and faceZone::whichFace().
| void repatch | ( | ) |
Re-patch the mesh.
Definition at line 295 of file repatchPolyTopoChanger.C.
Referenced by boundaryMesh::patchify().