Skip to content

Conversation

@kpentland
Copy link
Collaborator

Just patching a small issue that returned an incorrect value for dr_sep for some "weird" shaped equilibria. Should work fine for most but this should now work for all.

Main changes:

  • instead of filtering the x-points by those that have psi values closest to psi_boundary, we instead keep only those inside the tokamak wall, then choose the two closest to the magnetic x-point.
  • the values of psi at these two x-points are then used to find dr_sep.

@kpentland kpentland added the enhancement New feature or request label Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants