BUG: VTK write pointSet fails in parallel (fixes #2773)

- de-referenced autoPtr with () instead of ref() will fail on
  non-master ranks.
This commit is contained in:
Mark Olesen 2023-05-05 15:17:31 +02:00
parent a8cba8ba8f
commit 324ce9adec

View File

@ -155,7 +155,7 @@ bool Foam::vtk::writePointSet
if (parallel) if (parallel)
{ {
vtk::writeListParallel(format(), mesh.points(), pointLabels); vtk::writeListParallel(format.ref(), mesh.points(), pointLabels);
} }
else else
{ {