imas_paraview.io.read_geom.convert_grid_subset_geometry_to_unstructured_grid

imas_paraview.io.read_geom.convert_grid_subset_geometry_to_unstructured_grid(grid_ggd, subset_idx: int, vtk_grid_points, progress=None) vtkmodules.vtkCommonDataModel.vtkUnstructuredGrid

Copy the elements found in given grid_ggd/grid_subset IDS node into a vtkUnstructuredGrid instance. This method uses the supplied point coordinates in the form of a vtkPoints instance. :param grid_ggd: a grid_ggd ids node :param subset_idx: an index into grid_ggd/grid_subset :param vtk_grid_points: the point coordinates corresponding to 1d objects in :param the subset elements.: :param progress: Progress indicator for Paraview.

Returns:

The vtkUnstructuredGrid containing the given points.


Last update: 2026-03-11