A quasi-optical beam-tracing code for electron cyclotron waves absorption and current drive in tokamaks
Go to file
Michele Guerini Rocco 2c441668bb
replace coreprofiles module with an object
This change replaces the `coreprofiles` module with a new `gray_plasma`
module providing the same functionality without using global variables.

  - `read_profiles`, `read_profiles_an` are replaced by a single `load_plasma`
    routines that handles both profiles kind (numerical, analytical).

  - `scale_profiles` is merged into `load_plasma`, which besides reading
    the profiles from file peforms the rescaling and interpolation based
    on the `gray_parameters` settings.

  - `set_profiles_spline`, `set_profiles_an`, `unset_profiles_spline`
     are completely removed as the module no longer has any internal state.

  - `density`, `ftemp`, `fzeff` are replaced by the `abstract_plasma`
    type which provides the `dens`, `temp` and `zeff` methods for
    either `numeric_plasma` or `analytic_plasma` subtypes.
2024-10-07 16:19:33 +02:00
doc doc/gray.ini.5: fix some typos 2024-05-21 13:57:16 +02:00
schemas Remove unused imports 2024-05-17 11:01:14 +02:00
scripts tests: use new file and column names 2024-10-07 16:19:31 +02:00
src replace coreprofiles module with an object 2024-10-07 16:19:33 +02:00
srcjetto fixed incompatibilities with allocatable arrays (pgf90 compiler, JETTO); fixed input/output scaling (gray/jetto interface); fixed error in read_beams2 for small beam tables 2016-06-01 13:49:35 +00:00
tests tests: add test for gray -s 2024-10-07 16:19:31 +02:00
.gitignore .gitignore: remove gray_cli_params.f90 2024-04-12 17:33:34 +02:00
configure fix static compilation on macOS 2024-01-24 14:37:21 +01:00
default.nix add tests 2024-02-09 11:16:17 +01:00
LICENSE.md move vendored libraries to their own directory 2024-04-29 10:08:16 +02:00
Makefile Makefile: split install target for binaries and documentation 2024-05-30 17:52:40 +02:00