imas_paraview.util.is_structured_grid

imas_paraview.util.is_structured_grid(grid_ggd)

Return True if grid_ggd is a 2D structured grid.

A grid is considered a supported 2D structured grid when:
  • It has exactly two spaces.

  • Every space has at least one objects_per_dimension entry.

  • The first objects_per_dimension (0-D nodes) has objects with a single scalar geometry value (i.e. a 1-D axis).

Parameters:
grid_ggd

A grid_ggd IDS node.

Returns:

True if the grid is a 2D structured grid, False otherwise.


Last update: 2026-06-24