vmec_jax.solve¶
Fixed-boundary solvers.
The first solver milestone is a robust “inner solve” for the VMEC lambda field
with R/Z held fixed. This is useful for:
validating the magnetic energy objective against VMEC2000 wout files,
building toward a full fixed-boundary equilibrium solve.
Notes
This module intentionally avoids optional dependencies (e.g. jaxopt). The current implementation uses gradient descent with a simple backtracking line search.
Functions
|
Return a first-step diagnostic bundle (single force/precondition/update eval). |
|
Minimize a VMEC-style energy objective over (R,Z,lambda) coefficients. |
|
Fixed-boundary solve using a Gauss-Newton (normal-equations) step on VMEC residuals. |
|
Fixed-boundary solve using L-BFGS (no external deps). |
|
Fixed-boundary solve by minimizing a VMEC-style force-residual objective. |
|
VMEC-style fixed-point update loop using preconditioned force residuals. |
|
Solve for VMEC lambda (scaled coefficients) with fixed R/Z. |
Classes
|
|
|
|
|