google-deepmind / torax

TORAX: Tokamak transport simulation in JAX
https://torax.readthedocs.io
Other
345 stars 31 forks source link

New magnetic shear formula based directly on iota. #342

Closed copybara-service[bot] closed 1 month ago

copybara-service[bot] commented 1 month ago

New magnetic shear formula based directly on iota.

Leads to O(1e-2) Te, Ti differences for tests dependent on magnetic shear (i.e. using CGM or QLKNN).

Also set test_ne_qlknn_defromchie to use predictor_corrector to avoid a numerical instability