Skip to content

Conversation

@nicamo
Copy link
Collaborator

@nicamo nicamo commented Jun 4, 2025

Added a value error in jtor.py to address one of the modes in which the solver previously broke 'silently', resulting in it just getting stuck.

Also added masking beyond the secondary xpoint in cases close to double null, to avoid some (very rare) cases of spurious flooding (beyond the Xpt) of the plasma region.

@nicamo nicamo requested review from georgeholt1 and kpentland and removed request for georgeholt1 June 19, 2025 08:04
@kpentland kpentland added bug Something isn't working enhancement New feature or request labels Jun 21, 2025
Copy link
Collaborator

@kpentland kpentland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good - hopefully solver will not get stuck in weird situations anymore!

Ready to merge.

@kpentland
Copy link
Collaborator

New changes look good to me @georgeholt1 - tested on some examples and see to work nicely. Ready to merge.

@georgeholt1 georgeholt1 merged commit 176ba46 into main Jul 18, 2025
1 check passed
@georgeholt1 georgeholt1 deleted the small_patches branch July 18, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants