Consume pyQSC_JAX external 3+5+7 field jets - #46
Draft
rogeriojorge wants to merge 3 commits into
Draft
Conversation
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.
Summary
axis/physics variables;
examples.
Pressure-only stellarator examples
Both demonstrations now use public database-backed
plasma_stellarator(Wisconsin database ID 52521):p2and exactlyI2 = 0;|iota| > 2.8;0.15 m;The single-stage design vector is
(rc1, zs1, etabar, B2c); toroidal currentis fixed at zero and cannot drift toward a tokamak-like solution. Saved
metadata include the complete Fourier axis and database provenance.
Validation
subprocesses.
|iota| > 0.4, RMS torsion above0.5 1/m, more than 10% angularvariation in the plasma-field norm, and nonzero field/Hessian subtraction.
6.7102e7 -> 4.4677e3; field, gradient,and Hessian block sums independently decrease
4.4786 -> 0.7913,2.0187e4 -> 72.3078, and2.6833e8 -> 1.7578e4.6.7102e7 -> 3.0052e4; final blocks are0.6382,137.638, and1.1966e5; weighted B20 residual0.2930 -> 0.2514; final|iota| = 2.843,I2 = 0, and RMS torsion0.856 1/m.vacuum reduction is exact.
These deliberately short runs are execution and coupled-gradient
demonstrations, not claims of device-quality global optima.
Dependency and inherited state
This draft is paired with
uwplasma/pyQSC_JAX#2;
the final boundary/VMEX hardening source commit is
060aef3. Dependencydirection remains
ESSOS -> pyQSC_JAX.The ESSOS base branch retains unrelated collection, formatting, and
documentation failures already present before this patch. They remain
disclosed rather than being mixed into the field-jet integration. No
generated optimization output is committed.
This PR should remain draft until the paired pyQSC_JAX API lands.