imas_paraview.util.get_grid_ggd

imas_paraview.util.get_grid_ggd(ids, time=0.0, parent_idx=0)

Returns the GGD grid within IDS at a specific time. If the GGD grid does not exist at the corresponding time index, it returns the first GGD grid instead.

Parameters:
ids

The IDS for which to return the grid_gdd.

time=0.0

Time value for which to load the grid.

parent_idx=0

Index for any non-time-dependent parent Array of Structures. For example description_ggd[parent_idx].grid_ggd[ggd_idx] in the wall IDS.

Returns:

The grid_ggd node found, or None if not found.


Last update: 2026-03-11