vmec_jax.bootstrap_currentΒΆ
Bootstrap-current profile updates for finite-beta VMEC inputs.
The Redl bootstrap-current formula returns a flux-surface averaged parallel
current, <J.B>. VMEC inputs instead take a toroidal-current profile
through CURTOR and PCURR_TYPE/AC_AUX_*. This module implements the
pure profile-conversion layer needed for a deterministic VMEC/Redl fixed-point
iteration:
VMEC solve -> Redl <J.B> -> I(s) or I'(s) -> VMEC current profile.
The helpers here do not run VMEC. They are small, differentiable building blocks that can be tested against manufactured profiles before being used by a solve-in-the-loop driver.
Functions
|
Return a copy of |
|
Run a VMEC/Redl fixed-point iteration for a self-consistent current. |
|
Convert a bootstrap-current update and apply it to an |
|
Return a damped current-profile update. |
|
Return the flux derivative convention used in the bootstrap update. |
|
Integrate a current-derivative profile with |
|
Return a VMEC current-derivative update |
|
Solve the Redl/VMEC current ODE with an integrating factor. |
|
Return the Redl source term for the VMEC current ODE. |
|
Return VMEC current-profile arrays and |
Classes
|
Serializable per-iteration diagnostics for bootstrap fixed points. |
|
Configuration for Redl-to-VMEC current-profile fixed-point updates. |
|
Result returned by |