ENH: provide defaultName() static method for patches, zones

- consistent way of writing "patch" + Foam::name(id) etc.
This commit is contained in:
Mark Olesen
2020-01-16 13:24:23 +01:00
parent 2a98c4e665
commit f0be8679f6
24 changed files with 105 additions and 62 deletions

View File

@ -78,7 +78,7 @@ void Foam::searchableSurfaceModifiers::cut::triangulate
{
patches[patchi] = geometricSurfacePatch
(
"patch" + Foam::name(patchi),
geometricSurfacePatch::defaultName(patchi),
patchi
);
}