Repository navigation
Pass libneo's equilibrium-quality override through the config namelist - #826
Open
krystophny wants to merge 2 commits into
Open
krystophny wants to merge 2 commits into
krystophny wants to merge 2 commits into
Conversation
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 26, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to invalid changes in the merge commit
Nov 26, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
libneo refuses to build Boozer coordinates from a VMEC file that fails its quality check, and its config has an override, but SIMPLE calls
get_boozer_coordinates()without aqualityargument, so the override cannot be reached:Two
&configkeys,allow_poor_equilibriumandpoor_equilibrium_reason, now fillsfl_quality_config_tand are passed in both Boozer calls ofinit_field_can(src/field_can.f90). The reason is required; libneo logs it with the overridden status. Defaults keep the old behaviour.examples/simple_full.inandDOC/coordinates-and-fields.mdlist the keys.Validation: on b6754f5 with this change (Pitagora), the Proxima 5C vacuum VMEC (
eps_fb7.8e-3), the ARIES-CS N3ARE file of Landreman, Buller and Drevlak 2022 (eps_lam1.8e-3) and a reactor-scaled W7-X (d_fam3.2e-5) now run 200,000-marker fast-classifier volume maps in Boozer coordinates. Each log showssfl: OVERRIDE (reason). Trapped-marker loss within 0.15 s near s = 0.2 matches direct tracing in canonical coordinates to 2–4 percentage points for 5C and ARIES-CS. Without the keys the same inputs stop as before.Risk tier
Golden-record impact
Chris&AI