Skip to content

Expose axis_healing_power_law in the config namelist#388

Open
krystophny wants to merge 2 commits into
mainfrom
feat/vmec-axis-power-law-namelist
Open

Expose axis_healing_power_law in the config namelist#388
krystophny wants to merge 2 commits into
mainfrom
feat/vmec-axis-power-law-namelist

Conversation

@krystophny

@krystophny krystophny commented Jun 12, 2026

Copy link
Copy Markdown
Member

Forward the new libneo near-axis flags into SIMPLE's /config/ namelist so a run can select the rho^|m| VMEC-harmonic near-axis regularization directly from simple.in:

  • axis_healing_power_law (default .false. in libneo; set .true. in simple.in to enable)
  • rho_axis_heal (default 0.1)

Both come from new_vmec_stuff_mod; this PR only adds them to the use list and the namelist, no logic change.

Depends on itpplasma/libneo#306 (defines the flags and the s_to_rho_power_law continuation).

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:

axis_healing_power_law = .true. , rho_axis_heal = 0.1
VMEC axis healing: rho**m continuation below s = 1.0E-002
r_negative = 2          (legacy healing on this field: ~606)

r_negative drops 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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant