mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: setFields: parallel running with different number of proc patches
This commit is contained in:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user