mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect EnSight lagrangian fields in parallel (fixes #1629)
This commit is contained in:
@ -76,7 +76,7 @@ bool Foam::ensightOutput::writeCloudField
|
|||||||
IPstream fromSlave(comm, slave);
|
IPstream fromSlave(comm, slave);
|
||||||
Field<Type> recv(fromSlave);
|
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)
|
if (mag(val) < 1e-90) // approximately root(ROOTVSMALL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user