snappyHexMesh: Automatically remove zero-sized patches

All patches are preserved if the 'keepPatches' option is set true.
Patch contributed by Mattijs Janssens
This commit is contained in:
Henry Weller
2016-05-13 17:47:38 +01:00
parent bd52e35f77
commit 274d1df8a4
7 changed files with 92 additions and 62 deletions

View File

@ -112,7 +112,7 @@ public:
//- Change patchField to zero on registered fields
static void zeroPatchFields(fvMesh& mesh, const label patchI);
// -Reorder and remove trailing patches. If validBoundary call is parallel
//- Reorder and remove trailing patches. If validBoundary call is parallel
// synced and all add the same patch with same settings
static void reorderPatches
(
@ -121,7 +121,6 @@ public:
const label nPatches,
const bool validBoundary
);
};