From f215ad15d1769017b419c9170c92df690eb8cebd Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Tue, 14 Feb 2023 20:50:53 +0100 Subject: [PATCH] ENH: skip zero data sends via PstreamBuffers - in several cases can use the PstreamBuffers recvDataCount(proci) on the receiving part of the logic --- .../polyMesh/globalMeshData/globalPoints.C | 65 +++++++++++------ .../polyMesh/syncTools/syncToolsTemplates.C | 56 +++++++++++---- .../constraint/processor/processorFaPatch.C | 4 +- .../fvMesh/fvMeshSubset/fvMeshSubset.C | 13 ++-- .../RecycleInteraction/RecycleInteraction.C | 12 ++-- .../advancingFrontAMIParallelOps.C | 72 +++++++++---------- .../algorithms/MeshWave/FaceCellWave.C | 45 +++++++----- .../algorithms/PointEdgeWave/PointEdgeWave.C | 42 +++++++---- src/meshTools/processorLOD/box/box.C | 6 +- .../inverseDistanceCellCellStencil.C | 23 +++--- .../trackingInverseDistanceCellCellStencil.C | 22 +++--- 11 files changed, 210 insertions(+), 150 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C index e357bf5b22..50443ca893 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C @@ -487,6 +487,18 @@ void Foam::globalPoints::sendPatchPoints const polyBoundaryMesh& patches = mesh_.boundaryMesh(); const labelPairList& patchInfo = globalTransforms_.patchTransformSign(); + // Information to send: + + // The patch face + DynamicList