Versions Compared

Key

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

...

  • put_quantity_to_ids
    Put a type(eirene_data)-structure to IDS.
  • get_quantity_from_ids
    Get a type(eirene_data)-structure from an IDS (not suitable for the 'equilibrium' IDS).
  • get_quantity_from_equilibrium
    Get a type(eirene_data)-structure from the 'equilibrium' IDS.
  • put_quantity_for_single_subset
    Write a quantity given as array to a given IDS slot, attaching it to a grid subset with a given name.
  • get_quantity_for_single_subset
    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).
  • get_quantity_for_single_subset_in_equilibrium
    Get from a given IDS slot a quantity given as an array attached to the grid subset with a given name; suitable only for 'equilibrium'.


subroutine put_quantity_to_ids (quantity, grid_subset, grid_index, quantity_aos, code_to_imas_unit_ratio)

Put quantity to a given IDS slot (sub-AoS of the ggd AoS intended for the storage of a single physical quantity). The AoS is allocated with the size of 2 in order to save values attached to two subsets: 'pol3' (subset of all triangles) and 'average' (subset organized to store the averages).

Argument

Type

Intent

Description

quantity

type(eirene_data)

in

structure holding the quantity to be saved

grid_subset(ids_generic_grid_dynamic_grid_subset), intent(in), dimension(:)inAoS, grid subsets
grid_indexintegerinindex of the grid used in the grid_ggd AOS (must be put to IDS)
quantity_aostype(ids_generic_grid_scalar), dimension(:)pointerAoS (IDS slot) where the quantity should be written
code_to_imas_unit_ratioreal(ids_real)inratio of the quantity unit in the code to that in IMAS



Module edge_profiles_io

?????

...