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 <repatchPolyTopoChanger.H>
Public Member Functions | |
| repatchPolyTopoChanger (polyMesh &mesh) | |
| Construct for given mesh. | |
| virtual | ~repatchPolyTopoChanger ()=default |
| Destructor. | |
| void | changePatches (polyPatchList &patches) |
| Change patches. | |
| 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 numbering. | |
| 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. | |
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 |
| void changePatches | ( | polyPatchList & | patches | ) |
Change patches.
Definition at line 54 of file repatchPolyTopoChanger.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and patches.
Referenced by changePatches(), and boundaryMesh::patchify().


Change patches.
Definition at line 72 of file repatchPolyTopoChanger.C.
References changePatches(), and patches.

| 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 84 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), patchID, 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 136 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

| void changeAnchorPoint | ( | const label | faceID, |
| const label | fp ) |
Change anchor point (zero'th point of face) for a boundary face.
Definition at line 172 of file repatchPolyTopoChanger.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), forAll, patchID, and faceZone::whichFace().

| void repatch | ( | ) |
Re-patch the mesh.
Definition at line 269 of file repatchPolyTopoChanger.C.
Referenced by boundaryMesh::patchify().
