Skip to content
Snippets Groups Projects
Commit d70442a5 authored by mattijs's avatar mattijs
Browse files

ENH: reconstructParMesh: filtering region0

parent e7156dbe
Branches
Tags
No related merge requests found
...@@ -475,7 +475,11 @@ int main(int argc, char *argv[]) ...@@ -475,7 +475,11 @@ int main(int argc, char *argv[])
word regionName = polyMesh::defaultRegion; word regionName = polyMesh::defaultRegion;
word regionDir = word::null; word regionDir = word::null;
if (args.optionReadIfPresent("region", regionName)) if
(
args.optionReadIfPresent("region", regionName)
&& regionName != polyMesh::defaultRegion
)
{ {
regionDir = regionName; regionDir = regionName;
Info<< "Operating on region " << regionName << nl << endl; Info<< "Operating on region " << regionName << nl << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment