Skip to content
Snippets Groups Projects
Commit a812db29 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: vtk::internalWriter::writeProcIDs could block in parallel

- could be triggered if running in parallel, but requesting procIDs
  to be written with a non-parallel version of the writer.
parent 5eb44922
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment