Skip to content
Snippets Groups Projects
Commit 77774934 authored by mattijs's avatar mattijs
Browse files

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

parent a1c6e860
Branches
Tags
No related merge requests found
......@@ -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];
......
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