Use thread safe method in parallel code
The functor used
void vtkUnstructuredGrid::GetCellPoints(vtkIdType cellId, vtkIdType& npts, vtkIdType const*& pts)
which is efficient but doe not work in parallel, replace with the generic:
virtual void vtkDataSet::GetCellPoints(vtkIdType ptId, vtkIdList* cellIds)