BUG: setFields: parallel running with different number of proc patches

This commit is contained in:
mattijs
2012-12-07 19:14:01 +00:00
parent a1c6e86056
commit 7777493411

View File

@ -227,7 +227,11 @@ bool setFaceFieldType
// Override
bool hasWarned = false;
labelList nChanged(field.boundaryField().size(), 0);
labelList nChanged
(
returnReduce(field.boundaryField().size(), maxOp<label>()),
0
);
forAll(selectedFaces, i)
{
label facei = selectedFaces[i];