polyBoundaryMesh: Renamed groupPatchIDs -> groupPatchIndices

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 17:36:59 +00:00
parent 621740e90b
commit 4ebf1e87a0
16 changed files with 119 additions and 106 deletions

View File

@ -111,7 +111,7 @@ void ReadAndMapFields
label bFacei = facei - mesh.nInternalFaces();
if (bFacei >= 0)
{
label patchi = mesh.boundaryMesh().patchID()[bFacei];
label patchi = mesh.boundaryMesh().patchIndices()[bFacei];
label localFacei = mesh.boundaryMesh()[patchi].whichFace
(
facei

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -244,7 +244,7 @@ void Foam::vtkPVFoam::updateInfoPatches
if (meshPtr_)
{
const polyBoundaryMesh& patches = meshPtr_->boundaryMesh();
const HashTable<labelList, word>& groups = patches.groupPatchIDs();
const HashTable<labelList, word>& groups = patches.groupPatchIndices();
const wordList allPatchNames = patches.names();
// Add patch groups