Pstream output data only if debug > 1

This commit is contained in:
Hrvoje Jasak 2016-10-25 11:15:51 +01:00
parent 1460d20087
commit 5d63832d6e

View file

@ -294,7 +294,7 @@ void Pstream::scatterList
label leafID = notBelowLeaves[leafI]; label leafID = notBelowLeaves[leafI];
fromAbove >> Values[leafID]; fromAbove >> Values[leafID];
if (debug) if (debug > 1)
{ {
Pout<< " received through " Pout<< " received through "
<< myComm.above() << " data for:" << leafID << myComm.above() << " data for:" << leafID
@ -342,7 +342,7 @@ void Pstream::scatterList
label leafID = notBelowLeaves[leafI]; label leafID = notBelowLeaves[leafI];
toBelow << Values[leafID]; toBelow << Values[leafID];
if (debug) if (debug > 1)
{ {
Pout<< " sent through " Pout<< " sent through "
<< belowID << " data for:" << leafID << belowID << " data for:" << leafID