cherab.imas.ids.wall.load_wall_3d

cherab.imas.ids.wall.load_wall_3d(description_ggd: IDSStructure, subsets: list[str] | None = None) dict[str, dict[str, ndarray]]Source

Load machine wall components from IMAS wall IDS.

Parameters:
description_ggd: IDSStructure

A description_ggd structure from the ‘wall’ IDS.

subsets: list[str] | None = None

List of names of specific ggd subsets to load, by default None (loads all subsets).

Returns:

Dictionary of wall components defined by vertices and triangles. The dictionary keys for components are assigns as follows: "{grid_name}.{subset_name}.{material_name}". So, the returning dictionary looks like: ```python {

”FullTokamak.full_main_chamber_wall.Be”: {

“vertices”: np.ndarray of shape (N, 3), “triangles”: np.ndarray of shape (M, 3),

Return type:

dict[str, dict[str, np.ndarray]]

Raises:

RuntimeError – If the grid_ggd AOS is empty in the given description_ggd.