mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: simplify add/remove patch/zone groups
STYLE: reuse polyBoundaryMesh patchSizes(), patchStarts()
This commit is contained in:
@ -87,11 +87,7 @@ label addPatch
|
||||
)
|
||||
);
|
||||
auto& pp = *ppPtr;
|
||||
|
||||
if (!groupName.empty())
|
||||
{
|
||||
pp.inGroups().appendUniq(groupName);
|
||||
}
|
||||
pp.addGroup(groupName);
|
||||
|
||||
|
||||
// Add patch, create calculated everywhere
|
||||
|
||||
Reference in New Issue
Block a user