Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Revert "BUG: fvMeshDistribute: disable fvPatchField reading triggerin…

…g processor comms"

This reverts commit b7c76dc.
  • Loading branch information...
commit 931fa55298d587894f9cf0bbab975a66f8469536 1 parent b7c76dc
authored
10  src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C
@@ -1818,9 +1818,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
1818 1818
     // What to send to neighbouring domains
1819 1819
     // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1820 1820
 
1821  
-    bool oldParRun = UPstream::parRun();
1822  
-    UPstream::parRun() = false;
1823  
-
1824 1821
     forAll(nSendCells[Pstream::myProcNo()], recvProc)
1825 1822
     {
1826 1823
         if
@@ -1969,9 +1966,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
1969 1966
     }
1970 1967
 
1971 1968
 
1972  
-    UPstream::parRun() = oldParRun;
1973  
-
1974  
-
1975 1969
     // Start sending&receiving from buffers
1976 1970
     pBufs.finishedSends();
1977 1971
 
@@ -2070,9 +2064,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
2070 2064
     // Receive and add what was sent
2071 2065
     // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2072 2066
 
2073  
-    oldParRun = UPstream::parRun();
2074  
-    UPstream::parRun() = false;
2075  
-
2076 2067
     forAll(nSendCells, sendProc)
2077 2068
     {
2078 2069
         // Did processor sendProc send anything to me?
@@ -2380,7 +2371,6 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
2380 2371
         }
2381 2372
     }
2382 2373
 
2383  
-    UPstream::parRun() = oldParRun;
2384 2374
 
2385 2375
     // Print a bit.
2386 2376
     if (debug)

0 notes on commit 931fa55

Please sign in to comment.
Something went wrong with that request. Please try again.