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 710c44b3d8
commit a248f9c190

View File

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