gray/input
Michele Guerini Rocco 92b3ad9bd3
src/gray_core.f90: implement adaptive step control
This implements a method to control the integrator step size based on
the integration error and resonance conditions. The main advantages are that:

  - the ray trajectories have a bounded error;
  - the initial step size can be large as to quickly traverse the vacuum;
  - the results no longer depend on the choice of the step size.

The error is estimated from the real part of the dispersion relation
Λ(x̅, N̅), which if solved exactly should be zero.
The error bound is set to a strict value when crossing the plasma
boundary to ensure a correct coupling and is relaxed afterwards.

Finally, when the ray is approaching a resonance the controller ensures
the step size is small compared to the absorption profile.
2024-02-26 14:44:19 +01:00
..
beam.data some additional output prints (2D maps and Bcart, Ncart along central ray) 2016-02-12 16:49:00 +00:00
equil_a.txt Fix input files documentation 2023-09-22 15:55:29 +02:00
gray_params.data fixed wrong psi assignment if input profiles are given vs rhot. Added comment for ieccd flag in gray_params.data 2017-02-10 14:14:53 +00:00
gray.ini src/gray_core.f90: implement adaptive step control 2024-02-26 14:44:19 +01:00
profil_a.txt added templates for analytical equilibrium/profiles input files 2020-03-06 10:49:23 +00:00