Expose axis_healing_power_law in the config namelist#388
Open
krystophny wants to merge 2 commits into
Open
Conversation
Restores a standalone entry point for boozer_converter's export_boozer_chartmap, which survived as a library routine but lost its CLI driver when the test-suite chartmap tooling was reorganized. As an app (not a test): reads field config from simple.in, builds the internal Boozer field via init_field exactly as a tracing run does, and writes the chartmap in the current rho+s schema (A_phi on the s abscissa). Enables a direct field-level comparison of SIMPLE's VMEC->Boozer transform against an external booz_xform chartmap. Usage: export_boozer_chartmap.x <out.nc> [config.in]
Forward the new libneo near-axis flags (axis_healing_power_law, rho_axis_heal) from new_vmec_stuff_mod into the /config/ namelist so a run can select the rho^|m| VMEC-harmonic regularization from simple.in. Depends on itpplasma/libneo#306.
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.
Forward the new libneo near-axis flags into SIMPLE's
/config/namelist so a run can select therho^|m|VMEC-harmonic near-axis regularization directly fromsimple.in:axis_healing_power_law(default.false.in libneo; set.true.insimple.into enable)rho_axis_heal(default0.1)Both come from
new_vmec_stuff_mod; this PR only adds them to theuselist and the namelist, no logic change.Depends on itpplasma/libneo#306 (defines the flags and the
s_to_rho_power_lawcontinuation).Verification
Built against the libneo branch (
FETCHCONTENT_SOURCE_DIR_LIBNEO), W7-X high mirror, internal Boozer field, symplectic Euler1, 0.01 s, 1000 fixed-start alphas:r_negativedrops from ~606 to 2, below the booz_xform chartmap reference (21). 1 s symplectic Boozer and canonical benchmark runs on the regularized field are in progress.