polyBoundaryMesh::findPatchID,findPatchIDs: renamed findIndex,findIndices

Index is a better name to describe a label index than ID which may be an
integer, word or other means of identification.
This commit is contained in:
Henry Weller
2023-12-16 13:27:12 +00:00
parent cad6a99777
commit 621740e90b
57 changed files with 100 additions and 109 deletions

View File

@ -46,7 +46,7 @@ using namespace Foam;
// Adds empty patch if not yet there. Returns patchID.
label addPatch(polyMesh& mesh, const word& patchName)
{
label patchi = mesh.boundaryMesh().findPatchID(patchName);
label patchi = mesh.boundaryMesh().findIndex(patchName);
if (patchi == -1)
{