...
Argument | Type | Intent | Description |
---|---|---|---|
subset | type(ids_generic_grid_dynamic_grid_subset), pointer | pointer | Pointer to the |
space | type(ids_generic_grid_dynamic_space), pointer | pointer | Pointer to the |
space_index | integer | in | Index of the triangular grid space in the |
grid | type(triangular_grid) | in | The grid being saved |
mat_property | integer | in | MP value |
subset_id | integer | in | Integer identifier of the subset |
...
Storing EIRENE input
Only a part of input quantities are now processed.
Structure of EIRENE input files
Module ???
Main files save_input_main.f90
and provide_input_main
.f90
The program contained in the file save_grid.f90
performs the following actions:
...
- Opens the IMAS database by calling the subroutine
imas_open_env
. - Reads the IMAS IDS
edge_profiles
, using the subroutineids_get
. - Extracts the information about the grid from the IDS and puts it into a
type(triangular_grid)
-structure, using the subroutineget_triangular_grid_from_ids
(moduletriangular_grid_ids_io
). - Writes the grid to EIRENE-format files (subroutine
write_eirene_grid
, moduletriangular_grid_module
). - Closes the IMAS database.
Storing EIRENE input
Only a part of input quantities are now processed.
Structure of EIRENE input files
...
Things to be done
- IMASification of EIRENE output
- Extend the list of input quantities
- Organize a 1D toroidal space and a couple of subsets in the 3D space (if required)
- Try to adjust the processing of exceptions to GSL practices (if worth while)
- Understand how the triangular grid can be united with other grids (if required)
...