BUG: incorrect EnSight lagrangian fields in parallel (fixes #1629)

This commit is contained in:
Mark Olesen
2020-03-12 11:09:23 +01:00
parent 418248709f
commit 161c66df17

View File

@ -76,7 +76,7 @@ bool Foam::ensightOutput::writeCloudField
IPstream fromSlave(comm, slave);
Field<Type> recv(fromSlave);
for (Type val : field) // <-- working on a copy
for (Type val : recv) // <-- working on a copy
{
if (mag(val) < 1e-90) // approximately root(ROOTVSMALL)
{