diff --git a/src/conversion/vtk/output/foamVtkInternalWriter.C b/src/conversion/vtk/output/foamVtkInternalWriter.C index 1179b8971fe310923523e38d35350cfab922a951..6e0769ee686d815b5db0786d26c6f0f0f0bed22d 100644 --- a/src/conversion/vtk/output/foamVtkInternalWriter.C +++ b/src/conversion/vtk/output/foamVtkInternalWriter.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2017-2018 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2017-2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -665,9 +665,9 @@ void Foam::vtk::internalWriter::writeCellIDs() bool Foam::vtk::internalWriter::writeProcIDs() { - if (!Pstream::parRun()) + if (!parallel_) { - // Skip serial output (meaningless) + // Disabled in serial output (meaningless) return false; }