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) | |
Construct for given mesh. More... | |
virtual | ~repatchPolyTopoChanger () |
Destructor. More... | |
void | changePatches (const List< polyPatch * > &patches) |
Change patches. More... | |
void | changePatchID (const label faceID, const label patchID) |
Change patch ID for a boundary face. Note: patchID should be in new. More... | |
void | setFaceZone (const label faceID, const label zoneID, const bool zoneFlip) |
Set zone ID for a face. More... | |
void | changeAnchorPoint (const label faceID, const label fp) |
Change anchor point (zero'th point of face) for a boundary face. More... | |
void | repatch () |
Re-patch the mesh. More... | |
Private Member Functions | |
polyTopoChange & | meshMod () |
Demand driven access to polyTopoChange. More... | |
repatchPolyTopoChanger (const repatchPolyTopoChanger &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const repatchPolyTopoChanger &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
polyMesh & | mesh_ |
The polyMesh to be repatched. More... | |
autoPtr< polyTopoChange > | meshModPtr_ |
Topological change to accumulated all mesh changes. More... | |
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 51 of file repatchPolyTopoChanger.H.
|
private |
Disallow default bitwise copy construct.
|
explicit |
Construct for given mesh.
Definition at line 52 of file repatchPolyTopoChanger.C.
|
inlinevirtual |
Destructor.
Definition at line 83 of file repatchPolyTopoChanger.H.
|
private |
Demand driven access to polyTopoChange.
Definition at line 40 of file repatchPolyTopoChanger.C.
References repatchPolyTopoChanger::mesh_, and repatchPolyTopoChanger::meshModPtr_.
|
private |
Disallow default bitwise assignment.
Change patches.
Definition at line 62 of file repatchPolyTopoChanger.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and patches.
Referenced by boundaryMesh::patchify().
Change patch ID for a boundary face. Note: patchID should be in new.
numbering.
Definition at line 80 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), and faceZone::whichFace().
Referenced by boundaryMesh::patchify().
Set zone ID for a face.
Definition at line 132 of file repatchPolyTopoChanger.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Change anchor point (zero'th point of face) for a boundary face.
Definition at line 168 of file repatchPolyTopoChanger.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), forAll, List::size(), and faceZone::whichFace().
void repatch | ( | ) |
Re-patch the mesh.
Definition at line 264 of file repatchPolyTopoChanger.C.
Referenced by boundaryMesh::patchify().
|
private |
The polyMesh to be repatched.
Definition at line 56 of file repatchPolyTopoChanger.H.
Referenced by repatchPolyTopoChanger::meshMod().
|
private |
Topological change to accumulated all mesh changes.
Definition at line 59 of file repatchPolyTopoChanger.H.
Referenced by repatchPolyTopoChanger::meshMod().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.