Handle empty dynamic cell set gracefully
vtkm::cont::DynamicCellSet cells; cells.PrintSummary(std::cout);
This code results in a segfault. The cell set cannot be cast to anything and you can't call any methods on it like GetPointDims
. Some worklets (ExtractStructured) return default constructed dynamic cell sets and this is problematic.