A quasi-optical beam-tracing code for electron cyclotron waves absorption and current drive in tokamaks
Go to file
Michele Guerini Rocco daf3d500af
use linear interpolation for monotonic data
The ρ_p/ρ_t mapping is 1:1, so the interpolation must always preserve
monotonicity, of which cubic splines generally make no guarantee.

Note: Linear interpolation does not provide even C¹ continuity, but
these data is not directly used in the numerical integration, so it
should be fine. Ideally this should be replaced with cubic splines
computed with the Fritsch–Carlson algorithm.
2023-09-14 11:26:56 +02:00
doc Improve documentation build 2022-11-17 19:31:58 +01:00
input src/coreprofiles: make psnbnd fully automatic 2022-05-22 04:06:21 +02:00
scripts Add first draft of Python plotting script 2022-11-13 01:57:09 +01:00
src use linear interpolation for monotonic data 2023-09-14 11:26:56 +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
.gitignore add option to set parameters from the command-line 2022-05-11 01:15:07 +02:00
configure add documentation 2021-12-15 02:30:58 +01:00
default.nix default.nix: update to Nixpkgs 21.11 2023-03-29 21:52:21 +02:00
depend depend: fix typo 2023-03-30 11:06:33 +02:00
LICENSE.md Update license 2022-11-18 19:47:50 +01:00
Makefile Improve documentation build 2022-11-17 19:31:58 +01:00
minpack-LICENSE.txt Add License files 2022-11-17 19:42:44 +01:00