mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: foamToVTK, vtkWrite stopped by processorCyclic (closes #1135)
- they had an isType<> instead of isA<>() check
This commit is contained in:
@ -171,7 +171,7 @@ labelList getSelectedPatches
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (Pstream::parRun() && isType<processorPolyPatch>(pp))
|
else if (Pstream::parRun() && bool(isA<processorPolyPatch>(pp)))
|
||||||
{
|
{
|
||||||
break; // No processor patches for parallel output
|
break; // No processor patches for parallel output
|
||||||
}
|
}
|
||||||
|
|||||||
@ -140,7 +140,7 @@ Foam::labelList Foam::functionObjects::vtkWrite::getSelectedPatches
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (isType<processorPolyPatch>(pp))
|
else if (isA<processorPolyPatch>(pp))
|
||||||
{
|
{
|
||||||
break; // No processor patches
|
break; // No processor patches
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user