...
The Fortran routines described herein are intended to become a part of interface between the code EIRENE and the IMAS data structure. In its current form, they provide ???
The structure of this document is as follows. ???
Files provided
The files listed below can be found in the public directory ~g2yyakov/public/eirene/version0.9.
...
FILES | CONTENT |
---|---|
triangular_grid_module.f90 | Module that supports reading, writing and processing triangular grids |
triangular_grid_ids_io.f90 | Module supporing the storage of triangular grids in IMAS |
imas_data_io.f90 | Module supporing the storage of physical quantities (tallies) in IMAS |
eirene_data_io.f90 | Module supporing reading / writing of EIRENE data files |
edge_profiles_io.f90 | Module that supports placing the data to the 'edge_profiles' IDS |
equilibrium_io.f90 | Module that supports placing the data to the 'equilibrium' IDS |
imas_controls_for_input.f90 | |
global_parameters.f90 | |
save_input_main.f90 | Program that takes a set of EIRENE input files and puts their content to IMAS |
provide_input_main.f90 | Program that extracts EIRENE input from IMAS, providing it in EIRENE native format |
Makefile | Used to compile the programs |
save_input.par | |
provide_input.par | |
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 |
...
!!! To be updated. !!!
You can use the prepared data files. O
...
data files (the files soledge3x.npco_char, soledge3x.elemente, soledge3x.neighbor, and the files with the suffix '.dat'). Admittedly, the dat-files have no physical sense and were created with the only aim to check the corectness of input/output operations.
- Copy the files to your directory.
- .dat'). If you wish to test the programs with your own files, do copy them to the same direcctory. Do not forget to put the correct names to the command file save_input.cmdpar.
- Load the IMAS library by typing:
module load imasenv/3.37.0
- Create the IMAS database entry:
imasdb eirene
- Now you can compile the examples. Type
make clean
make save_input
- Run the program:
./save_input.exe
The program puts the grid stored in the files soledge3x.* and the data files ???? content of the dat-files into the IMAS databaseeirene
. - Type
make provide_input
- Run the program:
./provide_input.exe
- Compare the new files
eirene.*
with the original filessoledge3x.*
. ?????????????????? and the original data files with the new files (their names end with '_input.dat').
Structure of the command files
...
Things to be done
- Code parameters
- IMASification of EIRENE output
- Extend the list of input quantities
- IMASification of EIRENE output
- Try to adjust the processing of exceptions to GSL practices (if worth while)
...