Skip to content
Snippets Groups Projects
Commit 5e35cd79 authored by Sergio Ferraris's avatar Sergio Ferraris
Browse files

Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

parents a7c4bade d33920e7
Branches
Tags
No related merge requests found
......@@ -1818,6 +1818,9 @@ 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
......@@ -1966,6 +1969,9 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
}
UPstream::parRun() = oldParRun;
// Start sending&receiving from buffers
pBufs.finishedSends();
......@@ -2064,6 +2070,9 @@ 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?
......@@ -2371,6 +2380,7 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> Foam::fvMeshDistribute::distribute
}
}
UPstream::parRun() = oldParRun;
// Print a bit.
if (debug)
......
......@@ -134,7 +134,7 @@ void Foam::surfaceInterpolation::makeWeights() const
{
if (debug)
{
Info<< "surfaceInterpolation::makeWeights() : "
Pout<< "surfaceInterpolation::makeWeights() : "
<< "Constructing weighting factors for face interpolation"
<< endl;
}
......@@ -188,7 +188,7 @@ void Foam::surfaceInterpolation::makeWeights() const
if (debug)
{
Info<< "surfaceInterpolation::makeWeights() : "
Pout<< "surfaceInterpolation::makeWeights() : "
<< "Finished constructing weighting factors for face interpolation"
<< endl;
}
......@@ -199,7 +199,7 @@ void Foam::surfaceInterpolation::makeDeltaCoeffs() const
{
if (debug)
{
Info<< "surfaceInterpolation::makeDeltaCoeffs() : "
Pout<< "surfaceInterpolation::makeDeltaCoeffs() : "
<< "Constructing differencing factors array for face gradient"
<< endl;
}
......@@ -244,7 +244,7 @@ void Foam::surfaceInterpolation::makeNonOrthDeltaCoeffs() const
{
if (debug)
{
Info<< "surfaceInterpolation::makeNonOrthDeltaCoeffs() : "
Pout<< "surfaceInterpolation::makeNonOrthDeltaCoeffs() : "
<< "Constructing differencing factors array for face gradient"
<< endl;
}
......@@ -306,7 +306,7 @@ void Foam::surfaceInterpolation::makeNonOrthCorrectionVectors() const
{
if (debug)
{
Info<< "surfaceInterpolation::makeNonOrthCorrectionVectors() : "
Pout<< "surfaceInterpolation::makeNonOrthCorrectionVectors() : "
<< "Constructing non-orthogonal correction vectors"
<< endl;
}
......@@ -377,7 +377,7 @@ void Foam::surfaceInterpolation::makeNonOrthCorrectionVectors() const
if (debug)
{
Info<< "surfaceInterpolation::makeNonOrthCorrectionVectors() : "
Pout<< "surfaceInterpolation::makeNonOrthCorrectionVectors() : "
<< "Finished constructing non-orthogonal correction vectors"
<< endl;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment