Skip to content

Inverse solver: enabling second order magnetic null constraints (for snowflake divertors)#56

Merged
kpentland merged 17 commits into
mainfrom
inverse_solver_snowlake_constraints
May 15, 2026
Merged

Inverse solver: enabling second order magnetic null constraints (for snowflake divertors)#56
kpentland merged 17 commits into
mainfrom
inverse_solver_snowlake_constraints

Conversation

@kpentland
Copy link
Copy Markdown
Collaborator

@kpentland kpentland commented Feb 12, 2026

In addition to being able to set first order magnetic null constraints in the inverse solver, we've now added functionality for setting second order null constraints. This is particularly useful for making snowflake divertor geometries.

Screenshot 2026-02-12 at 17 45 07

There are updates to the Example01b notebook for how to use these constraints and an example snowflake equilibrium.

Screenshot 2026-02-13 at 10 52 51

Note that this requires PR 50 in FreeGS4E.

@kpentland kpentland added the enhancement New feature or request label Feb 12, 2026
@kpentland kpentland added ready-for-final-tests Pull request is ready to run final pre-merge tests feature request labels Mar 24, 2026
@kpentland kpentland self-assigned this Mar 24, 2026
@kpentland kpentland added ready-for-final-tests Pull request is ready to run final pre-merge tests and removed ready-for-final-tests Pull request is ready to run final pre-merge tests labels Mar 24, 2026
@timothy-nunn
Copy link
Copy Markdown
Contributor

Sorry @kpentland I forgot about this, I have put it on my list for review tomorrow!

Comment thread examples/example01b - advanced_static_inverse_solve.ipynb
Comment thread examples/example01b - advanced_static_inverse_solve.ipynb
Comment thread examples/example01b - advanced_static_inverse_solve.ipynb
Comment thread freegsnke/inverse.py
Comment thread freegsnke/inverse.py Outdated
Comment thread freegsnke/inverse.py Outdated
Comment thread freegsnke/inverse.py Outdated
@kpentland kpentland added the ready-for-final-tests Pull request is ready to run final pre-merge tests label May 14, 2026
@kpentland
Copy link
Copy Markdown
Collaborator Author

Thanks again for looking this over @timothy-nunn - hopefully looks ok now.

@kpentland kpentland added ready-for-final-tests Pull request is ready to run final pre-merge tests and removed ready-for-final-tests Pull request is ready to run final pre-merge tests labels May 15, 2026
@kpentland kpentland added ready-for-final-tests Pull request is ready to run final pre-merge tests and removed ready-for-final-tests Pull request is ready to run final pre-merge tests labels May 15, 2026
@kpentland kpentland merged commit a15c6b6 into main May 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature request ready-for-final-tests Pull request is ready to run final pre-merge tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants