Commit e8f25b13 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: foamToVTK, vtkWrite stopped by processorCyclic (closes #1135)

- they had an isType<> instead of isA<>() check
parent cb152896
......@@ -171,7 +171,7 @@ labelList getSelectedPatches
{
continue;
}
else if (Pstream::parRun() && isType<processorPolyPatch>(pp))
else if (Pstream::parRun() && bool(isA<processorPolyPatch>(pp)))
{
break; // No processor patches for parallel output
}
......
......@@ -140,7 +140,7 @@ Foam::labelList Foam::functionObjects::vtkWrite::getSelectedPatches
{
continue;
}
else if (isType<processorPolyPatch>(pp))
else if (isA<processorPolyPatch>(pp))
{
break; // No processor patches
}
......
Supports Markdown
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