Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Write a quantity given as array to a given IDS slot, attaching it to a grid subset with a given name. The array size must coincide with the size of the grid subset.

Argument

Type

Intent

Description

quantity

type(eirene_data)

result

structure holding the obtained quantity

ids_slottype(ids_generic_grid_scalar)outAoS (IDS slot) whence the quantity should be taken
code_to_imas_unit_ratioreal(ids_real)inratio of the quantity unit in the code to that in IMAS
grid_subsettype(ids_generic_grid_dynamic_grid_subset), dimension(:)inarray of grid subsets
grid_indexintegerinindex of the grid used in the grid_ggd AOS (must be put to IDS)
subset_labelcharacter(len=*)inidentifier name of the grid subset


subroutine get_quantity_for_single_subset (ids_slot, subset_label, code_to_imas_unit_ratio, grid_ggd_aos, quantity, grid_index, subset_index)

Get from a given IDS slot a quantity given as an array attached to the grid subset with a given name (not suitable for the 'equilibrium' IDS).

Argument

Type

Intent

Description

ids_slottype(ids_generic_grid_scalar)inAoS (IDS slot) whence the quantity should be taken
subset_labelcharacter(len=*)inidentifier name of the required grid subset
code_to_imas_unit_ratioreal(ids_real)inratio of the quantity unit in the code to that in IMAS
grid_ggd_aostype(ids_generic_grid_aos3_root), dimension(:)ingrid_ggd AOS
quantityreal(ids_real), dimension(:), allocatableoutvalues of the quantity at a grid subset
grid_indexintegeroutindex of the used grid in grid_ggd AOS
subset_indexintegeroutindex of the grid subset in the 'subset' AoS.


subroutine get_quantity_for_single_subset_in_equilibrium (ids_slot, subset_label, code_to_imas_unit_ratio, grid_ggd_aos, quantity, grid_index, subset_index)

Get from a given IDS slot a quantity given as an array attached to the grid subset with a given name (suitable onlyfor the 'equilibrium' IDS).

Argument

Type

Intent

Description

ids_slottype(ids_generic_grid_scalar)inAoS (IDS slot) whence the quantity should be taken
subset_labelcharacter(len=*)inidentifier name of the required grid subset
code_to_imas_unit_ratioreal(ids_real)inratio of the quantity unit in the code to that in IMAS
grid_ggd_aostype(ids_generic_grid_dynamic), dimension(:)ingrid_ggd AOS
quantityreal(ids_real), dimension(:), allocatableoutvalues of the quantity at a grid subset
grid_indexintegeroutindex of the used grid in grid_ggd AOS
subset_indexintegeroutindex of the grid subset in the 'subset' AoS.

Module edge_profiles_io

?????

...