From 621740e90b80127cd4d147ef5e56e0794082f74a Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 16 Dec 2023 13:27:12 +0000 Subject: [PATCH] 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. --- .../activeBaffleVelocityFvPatchVectorField.C | 2 +- ...PressureForceBaffleVelocityFvPatchVectorField.C | 2 +- .../fvModels/filmVoFTransfer/VoFFilmTransfer.C | 2 +- applications/test/PatchTools/Test-PatchTools.C | 2 +- applications/test/patchRegion/Test-patchRegion.C | 4 ++-- .../utilities/mesh/advanced/PDRMesh/PDRMesh.C | 2 +- .../mesh/advanced/autoRefineMesh/autoRefineMesh.C | 2 +- .../mesh/conversion/gmshToFoam/gmshToFoam.C | 2 +- .../extrude2DMesh/extrude2DMesh/extrude2DMesh.C | 6 +++--- .../mesh/generation/extrudeMesh/extrudeMesh.C | 14 +++++++------- .../extrudeToRegionMesh/extrudeToRegionMesh.C | 12 ++++++------ .../mesh/generation/snappyHexMesh/snappyHexMesh.C | 2 +- .../mesh/manipulation/autoPatch/autoPatch.C | 2 +- .../manipulation/createBaffles/createBaffles.C | 6 +++--- .../mesh/manipulation/createPatch/createPatch.C | 4 ++-- .../mesh/manipulation/stitchMesh/stitchMesh.C | 2 +- .../mesh/manipulation/subsetMesh/subsetMesh.C | 2 +- .../PVReaders/vtkPVFoam/vtkPVFoamPointFields.H | 2 +- .../PVReaders/vtkPVFoam/vtkPVFoamSurfaceField.H | 2 +- .../PVReaders/vtkPVFoam/vtkPVFoamVolFields.H | 2 +- .../surfaceMeshTriangulate.C | 2 +- .../surface/surfaceToPatch/surfaceToPatch.C | 2 +- .../LES/LESdeltas/vanDriestDelta/vanDriestDelta.C | 2 +- .../GeometricField/GeometricBoundaryField.C | 2 +- .../pointBoundaryMesh/pointBoundaryMesh.C | 6 +++--- .../pointBoundaryMesh/pointBoundaryMesh.H | 4 ++-- .../polyMesh/polyBoundaryMesh/polyBoundaryMesh.C | 8 ++++---- .../polyMesh/polyBoundaryMesh/polyBoundaryMesh.H | 13 ++----------- .../polyBoundaryMesh/polyBoundaryMeshTemplates.C | 4 ++-- .../constraint/cyclic/cyclicPolyPatch.C | 4 ++-- .../processorCyclic/processorCyclicPolyPatch.H | 4 ++-- .../flowRateInletVelocityFvPatchVectorField.C | 2 +- ...tchedFlowRateOutletVelocityFvPatchVectorField.C | 2 +- .../outletMappedUniformInletFvPatchField.C | 2 +- .../fvMesh/fvBoundaryMesh/fvBoundaryMesh.C | 8 ++++---- .../fvMesh/fvBoundaryMesh/fvBoundaryMesh.H | 2 +- .../fvMesh/wallDist/nearWallDist/nearWallDist.C | 2 +- .../fvMesh/wallDist/wallDist/wallDist.C | 2 +- .../surfaceFieldValue/surfaceFieldValue.C | 2 +- .../patchMeanVelocityForce.C | 4 ++-- .../PatchInjection/patchInjectionBase.C | 2 +- src/mesh/blockMesh/blockMesh/blockMeshTopology.C | 4 ++-- .../snappyHexMesh/meshRefinement/meshRefinement.C | 6 +++--- .../mappedPatchBase/mappedPatchBase.C | 2 +- src/meshTools/meshToMesh/meshToMesh.C | 6 +++--- .../nonConformal/nonConformalPolyPatch.C | 2 +- .../displacementLayeredMotionMotionSolver.C | 2 +- .../parallel/domainDecompositionReconstruct.C | 6 +++--- src/polyTopoChange/fvMeshSubset/fvMeshSubset.C | 4 ++-- src/polyTopoChange/fvMeshTools/fvMeshTools.C | 2 +- src/polyTopoChange/meshCut/directions/directions.C | 2 +- src/polyTopoChange/repatchMesh/repatchMesh.C | 6 +++--- src/polyTopoChange/repatchMesh/repatchMesh.H | 2 +- src/sampling/probes/patchProbes.C | 4 ++-- .../Test-fvMeshTools/Test-fvMeshTools.C | 2 +- .../validation/WatersKing/WatersKing.C | 2 +- .../potentialFoam/cylinder/system/controlDict | 4 ++-- 57 files changed, 100 insertions(+), 109 deletions(-) diff --git a/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C index 5704677d79..da3e823c13 100644 --- a/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C +++ b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C @@ -42,7 +42,7 @@ activeBaffleVelocityFvPatchVectorField fixedValueFvPatchVectorField(p, iF, dict, false), pName_(dict.lookupOrDefault("p", "p")), cyclicPatchName_(dict.lookup("cyclicPatch")), - cyclicPatchLabel_(p.patch().boundaryMesh().findPatchID(cyclicPatchName_)), + cyclicPatchLabel_(p.patch().boundaryMesh().findIndex(cyclicPatchName_)), orientation_(dict.lookup