Versions Compared

Key

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

...

Argument

Type

Intent

Description

subset

type(ids_generic_grid_dynamic_grid_subset), pointer

pointer

Pointer to the  grid_subset  AOS element to hold the subset

space

type(ids_generic_grid_dynamic_space), pointer

pointer

Pointer to the  space  AOS element holding the triangular grid space

space_index

integer

in

Index of the triangular grid space in the  space  AOS

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 subroutine  ids_get .
  • Extracts the information about the grid from the IDS and puts it into a  type(triangular_grid)-structure, using the subroutine  get_triangular_grid_from_ids  (module  triangular_grid_ids_io).
  • Writes the grid to EIRENE-format files (subroutine  write_eirene_grid, module  triangular_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)

...