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

- they had an isType<> instead of isA<>() check
This commit is contained in:
Mark Olesen
2018-12-19 13:56:20 +01:00
parent cb152896b0
commit e8f25b1385
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}