Permalink
Browse files

Revert "BUG: fvMeshDistribute: disable fvPatchField reading triggerin…

…g processor comms"

This reverts commit b7c76dc.
  • Loading branch information...
mattijs
mattijs committed Nov 23, 2011
1 parent b7c76dc commit 931fa55298d587894f9cf0bbab975a66f8469536
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
@@ -1818,9 +1818,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
// What to send to neighbouring domains
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- bool oldParRun = UPstream::parRun();
- UPstream::parRun() = false;
-
forAll(nSendCells[Pstream::myProcNo()], recvProc)
{
if
@@ -1969,9 +1966,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
}
- UPstream::parRun() = oldParRun;
-
-
// Start sending&receiving from buffers
pBufs.finishedSends();
@@ -2070,9 +2064,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
// Receive and add what was sent
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- oldParRun = UPstream::parRun();
- UPstream::parRun() = false;
-
forAll(nSendCells, sendProc)
{
// Did processor sendProc send anything to me?
@@ -2380,7 +2371,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
}
}
- UPstream::parRun() = oldParRun;
// Print a bit.
if (debug)

0 comments on commit 931fa55

Please sign in to comment.