Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent out-of-bounds error in find_psisurface near axis #98

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

tbody-cfs
Copy link
Contributor

No description provided.

@tbody-cfs
Copy link
Contributor Author

if ind == 0 (near the magnetic axis), the original implementation would perform an extrapolation from the axis to the end of the sample chord. This usually gives you a weird point way outside of the confined region.

@bendudson bendudson merged commit c17e466 into freegs-plasma:master Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants