...
Restrictions: only single-atom ions (no molecules); one charge state per ion sort.
Argument | Type | Intent | Description |
---|---|---|---|
ion_list | type(ion_parameters), allocatable, dimension(:) | result | the structure holding the obtained data |
grid_ggd_aos | type(ids_generic_grid_aos3_root), dimension(:) | in | AoS containing the GGD grids |
ggd_ions | type(ids_edge_profiles_time_slice_ion), dimension(:) | in | sub-AoS of the ggd AOS where ion data are stored |
subroutine write_input_data_from_edge_profiles_ids (edge_profiles_data, file_suffix)
...
The names of the generated files look like <ion_label>_<quantity_label>_<file_suffix>. For example, if the file suffix is "input.dat", and the ion label is "D+", the ion temperature will be written to the file "D+_n_input.dat".
Argument | Type | Intent | Description |
---|---|---|---|
edge_profiles_data | type(edge_profiles_data_set) | in | the structure holding the obtained data |
file_suffix | character(len=*) | in | the suffix added to the names of the created files |
Module equilibrium_io
The module provides tools for information exchange with the 'edge_profiles' IDS.
...
This type holds names of the files holding the magnetic field components.
Methods provided
- deallocate_equilibrium_data
Deallocate all components of the structure. - initiate_equilibrium_data_for_input
- collect_data_for_equilibrium_input
- transform_equilibrium_for_ids
- save_input_to_equilibrium
- fetch_input_from_equilibrium
- get_quantities_from_equilibrium
- transform_equilibrium_for_eirene
- write_input_data_from_equilibrium_ids
subroutine deallocate_equilibrium_data (all_data)
Deallocate all components of the structure.
Argument | Type | Intent | Description |
---|---|---|---|
all_data | type(equilibrium_set) | inout | structure to be deallocated |
???????????????
Module global_parameters
...
- Code parameters
- Headers of data files
- Generalize to multi-atom ions
- Implement velocities
- Extend the list of input quantities
- IMASification of the EIRENE output
- Try to adjust the processing of exceptions to GSL practices (if worthwhile)
...