...
The files listed below can be found in the public directory ~g2yyakov/public/eirene.
!!! To be updated
FILES | CONTENT |
---|---|
triangular_grid_module.f90 | Library that supports reading, writing and processing triangular grids |
triangular_grid_ids_io.f90 | Library that supports communication with IMAS IDS |
save_grid.f90 | Program that takes an EIRENE grid and puts it to IMAS |
recover_grid.f90 | Program that extracts a grid from IMAS, providing it in EIRENE format |
Makefile | Used to compile test examples |
gsl_config.sh | Bash script to facilitate compilation |
soledge3x.npco_char | Triangular grid example received from the EIRENE team |
soledge3x.elemente | Another file of this example |
soledge3x.neighbor | Another file of this example |
README.txt | Brief description of how to compile and run |
user_guide.pdf | PDF version of this document |
Running a test example
!!! To be updated. !!! You need to have installed GSL (GGD Standard Library).
...
- 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
Module ???
Things to be done
- IMASification of EIRENE output
- Extend the list of input quantitiesAdd some simple methods for reading and writing physical data.
- Organize a 1D toroidal space and a couple of subsets in the 3D space .Add standard integer identifiers where appropriate.(if required)
- Try to adjust the processing of exceptions to GSL practices .(if worth while)
- Understand how the triangular grid can be united with the rectangular grid.other grids (if required)