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

Warn instead of failing if coil area is zero #78

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

tbody-cfs
Copy link
Contributor

Replaces an assertion error with a warning if the coil area is zero. While zero area coils won't give a realistic force calculation, I often set zero area (the default) for initial prototyping. However, this causes the plotting routines to fail.

@bendudson bendudson merged commit ce18e28 into freegs-plasma:master Mar 19, 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.

2 participants