A quasi-optical beam-tracing code for electron cyclotron waves absorption and current drive in tokamaks
92b3ad9bd3
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. |
||
---|---|---|
doc | ||
input | ||
scripts | ||
src | ||
srcjetto | ||
.gitignore | ||
configure | ||
default.nix | ||
depend | ||
LICENSE.md | ||
Makefile | ||
minpack-LICENSE.txt |