diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C index f0aa4a0aaa..9e96eec03f 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkTopology.C @@ -12,6 +12,7 @@ bool Foam::checkSync(const wordList& names) List allNames(Pstream::nProcs()); allNames[Pstream::myProcNo()] = names; Pstream::gatherList(allNames); + Pstream::scatterList(allNames); bool hasError = false; @@ -72,8 +73,8 @@ Foam::label Foam::checkTopology Info<< " ***FaceZone " << mesh.faceZones()[zoneI].name() << " is not correctly synchronised" << " across coupled boundaries." - << " (coupled faces both" - << " present in set but with opposite flipmap)" << endl; + << " (coupled faces are either not both " + << " present in set or have same flipmap)" << endl; noFailedChecks++; } } diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.C b/src/OpenFOAM/meshes/polyMesh/polyMesh.C index d0b3a7fa66..0ed5f56200 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.C @@ -85,6 +85,9 @@ void Foam::polyMesh::calcDirections() const } } + reduce(nEmptyPatches, maxOp