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[])
word regionName = polyMesh::defaultRegion;
word regionDir = word::null;
if (args.optionReadIfPresent("region", regionName))
if
(
args.optionReadIfPresent("region", regionName)
&& regionName != polyMesh::defaultRegion
)
{
regionDir = regionName;
Info<< "Operating on region " << regionName << nl << endl;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment