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

ENH: GeometricBoundaryField: short-circuit patch rgoups test

parent 3c6ef228
Branches
Tags
No related merge requests found
......@@ -50,6 +50,8 @@ readField
}
label nUnset = this->size();
// 1. Handle explicit patch names. Note that there can be only one explicit
// patch name since is key of dictionary.
forAllConstIter(dictionary, dict, iter)
......@@ -70,10 +72,16 @@ readField
iter().dict()
)
);
nUnset--;
}
}
}
if (nUnset == 0)
{
return;
}
// 2. Patch-groups. (using non-wild card entries of dictionaries)
// (patchnames already matched above)
......
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