Commit 729ea13a authored by Christoph Schwarzmeier's avatar Christoph Schwarzmeier
Browse files

Fix error when writing fluid field VTK output with OpenMPI version > 2.x.x

parent 46d99d8a
......@@ -437,7 +437,7 @@ public:
// construct a temporary, second pdf field that will be used for streaming
// by cloning the pdf field stored at the block
shared_ptr< PdfField_T > tmpPdfField( pdfField->cloneUninitialized() );
shared_ptr< PdfField_T > tmpPdfField( pdfField->clone() );
// get the flag that marks a cell as being fluid
auto fluid = flagField->getFlag( fluid_ );
Markdown is supported
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