ENH: reduce output in parallel.

This commit is contained in:
graham 2011-07-05 13:23:41 +01:00
parent 3a5a303bf8
commit 471a6becc1

View File

@ -208,7 +208,8 @@ int main(int argc, char *argv[])
IOobject::MUST_READ
);
Info<< "Read set " << setName << " with size "
<< currentSet().size() << endl;
<< returnReduce(currentSet().size(), sumOp<label>())
<< endl;
}
@ -292,7 +293,8 @@ int main(int argc, char *argv[])
if (currentSet.valid())
{
Info<< " Set " << currentSet().name()
<< " now size " << currentSet().size()
<< " now size "
<< returnReduce(currentSet().size(), sumOp<label>())
<< endl;
}
}