Versions Compared

Key

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

...

Uses the subroutines: put_quantity_to_ids (module imas_data_io), put_eirene_grid_to_ids (module triangular_grid_ids_io), put_ions_to_edge_profiles (this module).

Argument

Type

Intent

Description

idxintegerinindex of the I/O unit attached to the IMAS database
imas_controlstype(imas_control_panel)inparameters of the IMAS database and basic information to be put to IDS
grid_controlstype(grid_control_panel)inparameters controlling the grid saving

edge_profiles_data

type(edge_profiles_data_set)

in

structure that contains the names of the input files and accepts the data read from the files

eirene_gridtype(triangular_grid)instructure keeping the EIRENE triangular grid


subroutine organize_ion_storage (ion_list, ggd)

...

Restrictions to be overcome: only single atoms (no molecules); one charge state per ion sort.

Argument

Type

Intent

Description

ion_list

type(ion_parameters), allocatable, dimension(:)

in

array that holds parameters of all ions

ggdtype(ids_edge_profiles_time_slice)inout
that element of the ggd AOS which is
ggd AoS element to be filled


subroutine put_ions_to_edge_profiles (ion_list, ggd, grid_subset, grid_index)

...

Restrictions to be overcome: only single atoms (no molecules); one charge state per ion sort.

Argument

Type

Intent

Description

ion_list

type(ion_parameters), dimension(:)

in

array that holds parameters of all ions

ggdtype(ids_edge_profiles_time_slice)inout
that element of the ggd AOS which is
ggd AoS element to be filled
grid_subsettype(ids_generic_grid_dynamic_grid_subset), dimension(:)inarray of grid subsets
grid_indexintegerinindex of
that element in
the grid_ggd AOS
where
element holding the grid
is placed


subroutine fetch_input_from_edge_profiles (idx, grid_controls, fetch_grid, edge_profiles_data, eirene_grid)

...

Uses the subroutines: put_quantity_to_ids (module imas_data_io), put_eirene_grid_to_ids (module triangular_grid_ids_io), put_ions_to_edge_profiles (this module).

Argument

Type

Intent

Description

idxintegerinindex of the I/O unit attached to the IMAS database
grid_controlstype(grid_control_panel)inparameters controlling the grid saving
fetch_gridlogicalinswitches on reading the grid

edge_profiles_data

type(edge_profiles_data_set)

out

the structure holding the data found in the edge_profiles IDS (except for the grid)

eirene_gridtype(triangular_grid)inoutstructure containing the grid; if fetch_input=.true., it is filled with data read from the IDS; otherwise, it remains unchanged.


function get_quantities_from_edge_profiles (ggd, grid_ggd_aos) result (edge_profiles_data)

Get all physical quantities from the edge_profiles IDS, putting them to a type(edge_profiles_data_set) structure.

Argument

Type

Intent

Description

edge_profiles_datatype(edge_profiles_data_set)resultthe structure holding the obtained data
ggdtype(ids_edge_profiles_time_slice)inggd AoS element where the quantities are written
grid_ggd_aostype(ids_generic_grid_aos3_root), dimension(:)inAoS containing the GGD grids



Module equilibrium_io

????????????

...