A quasi-optical beam-tracing code for electron cyclotron waves absorption and current drive in tokamaks
Go to file
Michele Guerini Rocco 7eeb34c7dc
src/gray_core.f90: refine realtime termination check
In some very rare cases the residual power check can stop the
integration too early.

For example, this extremely unlikely chain of events was observed in a
few cases while performing a parameter sweep (~3000 simulations):

  1. n⊥ converges on wrong branch ⇒ α jumps ⇒ dP/ds jumps (common)
  2. dP/ds jumps close to the peak (unlikely)
  3. the peak of dP/ds is close to 0.6P₀ (unlikely)
  4. dP/ds jumps to dP/ds_max + 10⁻¹² ⇒ wrong peak found (very unlikely)
  5. peak is at exactly the current point
     ⇒ three-point interpolation fails (unlikely)
2024-04-11 09:23:04 +02:00
doc Improve documentation build 2022-11-17 19:31:58 +01:00
input add a switch for realtime mode 2024-03-24 09:25:50 +01:00
scripts Add first draft of Python plotting script 2022-11-13 01:57:09 +01:00
src src/gray_core.f90: refine realtime termination check 2024-04-11 09:23:04 +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 Fix debug/optimization flags 2023-10-20 13:42:06 +02:00
minpack-LICENSE.txt Add License files 2022-11-17 19:42:44 +01:00