Versions Compared

Key

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

...

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.f90Library that supports communication with IMAS IDS
save_grid.f90Program that takes an EIRENE grid and puts it to IMAS
recover_grid.f90Program that extracts a grid from IMAS, providing it in EIRENE format
MakefileUsed to compile test examples
gsl_config.shBash script to facilitate compilation
soledge3x.npco_charTriangular grid example received from the EIRENE team
soledge3x.elementeAnother file of this example
soledge3x.neighborAnother file of this example
README.txtBrief description of how to compile and run
user_guide.pdfPDF 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 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


 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)