mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide defaultName() static method for patches, zones
- consistent way of writing "patch" + Foam::name(id) etc.
This commit is contained in:
@ -680,11 +680,11 @@ void Foam::boundaryMesh::readTriSurface(const fileName& fName)
|
||||
patchi,
|
||||
new boundaryPatch
|
||||
(
|
||||
"patch" + name(patchi),
|
||||
geometricSurfacePatch::defaultName(patchi),
|
||||
patchi,
|
||||
0,
|
||||
0,
|
||||
"empty"
|
||||
geometricSurfacePatch::emptyType
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user