vmec_jax.implicit¶
Implicit differentiation utilities.
This module provides custom VJP wrappers for equilibrium sub-solves so that outer objectives can differentiate through equilibrium states without backpropagating through many optimization iterations.
Initial scope¶
Implicit differentiation for the lambda-only fixed-geometry solve.
Future work¶
Extend to the full fixed-boundary solve over (R,Z,lambda) using the same implicit-function machinery.
Functions
|
Fixed-boundary solve with a custom VJP using implicit differentiation. |
|
Implicitly differentiate a VMEC residual fixed-point solve. |
|
Solve lambda with a custom VJP that uses implicit differentiation. |
Classes
|
Controls for the implicit backward pass (fixed-boundary solve). |
|
Controls for the implicit backward pass. |