ENH: simplify add/remove patch/zone groups

STYLE: reuse polyBoundaryMesh patchSizes(), patchStarts()
This commit is contained in:
Mark Olesen
2023-08-21 15:17:54 +02:00
parent 12916cd7a3
commit 2395e493d1
16 changed files with 167 additions and 242 deletions

View File

@ -87,11 +87,7 @@ label addPatch
)
);
auto& pp = *ppPtr;
if (!groupName.empty())
{
pp.inGroups().appendUniq(groupName);
}
pp.addGroup(groupName);
// Add patch, create calculated everywhere