BUG: surfaceFieldValue with vectorWeights blocks in parallel (fixes #2129)

This commit is contained in:
Mark Olesen 2021-06-18 15:45:00 +02:00
parent 308af39136
commit 3b29395a66
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
api=2012
patch=210414
patch=210618

View File

@ -1263,7 +1263,7 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
// Process the fields
if (vectorWeights.size())
if (returnReduce(!vectorWeights.empty(), orOp<bool>()))
{
if (scalarWeights.size())
{