From 20b2f4631525e4935430046bf88812418e7a7876 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Tue, 25 Feb 2025 19:26:40 +0100 Subject: [PATCH] STYLE: prefer listReduce() to using listCombineReduce() when possible - potentially allows access into the builtin MPI operations --- .../extrudeToRegionMesh/extrudeToRegionMesh.C | 4 ++-- .../splitMeshRegions/splitMeshRegions.C | 2 +- .../lagrangian/particleTracks/particleTracks.C | 2 +- .../postChannel/channelIndexTemplates.C | 2 +- .../raySearchEngine/raySearchEngine.C | 9 ++++++--- .../utilities/preProcessing/setFields/setFields.C | 2 +- .../pointSmoothing/hexMeshSmootherMotionSolver.C | 2 +- .../polyTopoChange/hexRef8/hexRef8.C | 4 ++-- .../fvMesh/fvMeshSubset/fvMeshSubset.C | 2 +- src/functionObjects/field/Curle/Curle.C | 2 +- .../field/columnAverage/columnAverageTemplates.C | 6 +++--- .../extractEulerianParticles.C | 4 ++-- .../histogramModels/equalBinWidth/equalBinWidth.C | 4 ++-- .../unequalBinWidth/unequalBinWidth.C | 4 ++-- .../forces/propellerInfo/propellerInfo.C | 2 +- .../ParticleZoneInfo/ParticleZoneInfo.C | 2 +- .../CellZoneInjection/CellZoneInjection.C | 4 ++-- .../LocalInteraction/LocalInteraction.C | 10 +++++----- .../RecycleInteraction/RecycleInteraction.C | 8 ++++---- .../StandardWallInteraction.C | 8 ++++---- .../movement/lumpedPointMovement.C | 8 ++++---- .../snappyHexMesh/meshRefinement/meshRefinement.C | 4 ++-- .../meshRefinement/meshRefinementBaffles.C | 8 ++++---- .../snappyHexMeshDriver/snappyRefineDriver.C | 8 ++++---- .../planeToFaceZone/planeToFaceZone.C | 8 ++++---- .../adjoint/optimisation/updateMethod/MMA/MMA.C | 2 +- .../NURBS3DVolume/NURBS3DVolume/NURBS3DVolume.C | 4 ++-- .../cellVolumeWeightCellCellStencil.C | 6 +++--- .../inverseDistanceCellCellStencil.C | 6 +++--- .../trackingInverseDistanceCellCellStencil.C | 4 ++-- src/overset/regionsToCell/findRefCells.C | 4 ++-- .../multiLevelDecomp/multiLevelDecomp.C | 10 +++------- .../singleLayerRegion/singleLayerRegion.C | 4 ++-- src/sampling/sampledSet/cloud/cloudSet.C | 6 +++--- .../distanceSurface/distanceSurfaceFilter.C | 14 +++++++------- src/sampling/surface/isoSurface/isoSurfacePoint.C | 4 ++-- .../solarLoad/faceReflecting/faceReflecting.C | 4 ++-- .../radiationModels/viewFactor/viewFactor.C | 8 ++++---- 38 files changed, 97 insertions(+), 98 deletions(-) diff --git a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C index cf15e2f1a5..d1fb66a605 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C @@ -661,8 +661,8 @@ void countExtrudePatches } // Synchronise decision. Actual numbers are not important, just make // sure that they're > 0 on all processors. - Pstream::listCombineReduce(zoneSidePatch, plusEqOp