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 | |
repatcher (polyMesh &mesh) | |
Construct for given mesh. More... | |
repatcher (const repatcher &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~repatcher () |
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 | 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... | |
void | operator= (const repatcher &)=delete |
Disallow default bitwise assignment. 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 52 of file repatcher.H.
Construct for given mesh.
Definition at line 50 of file repatcher.C.
|
virtual |
Destructor.
Definition at line 59 of file repatcher.C.
Change patches.
Definition at line 65 of file repatcher.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and patches.
Change patch ID for a boundary face. Note: patchID should be in new.
numbering.
Definition at line 82 of file repatcher.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Change anchor point (zero'th point of face) for a boundary face.
Definition at line 117 of file repatcher.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, forAll, and List< T >::size().
void repatch | ( | ) |
Re-patch the mesh.
Definition at line 190 of file repatcher.C.
|
delete |
Disallow default bitwise assignment.