Repository navigation
Add permanent-magnet field-line examples and correct rotational-transform counting - #32
joshuabourassa wants to merge 51 commits into
Conversation
…generating the time plots should be faster, still an issue with large grids, likely related to memory
|
This looks good. Let's put this as a priority once PR #29 is merged (hopefully within the next few weeks), with the help of @Agastyarathee and Tejas. |
… past initial tests
…os-native coil loading, volume-penalty, works with Djins field.py
…dded some documentation
…hing changes in the form of two new scripts for testing
…les, added examples for comparisons against essos and simsopt (G Matrix compute times and B),Fixed ESSOS_ROOT path depth in every moved script
# Conflicts: # examples/plot_PM_results.py # examples/pm_opt.py
…s.py for field line tracing
… set for a GPU must change "cuda" to "auto" for CPU
# Conflicts: # essos/fields.py
|
Hi Joshua, thanks for all the permanent-magnet work here. I'd like to get it into ESSOS, but in its current form the PR can't be reviewed or merged: it adds about 191k lines in 43 files, most of it data (the zot80 and nfp4/nfp8 .focus grids are 53k, 27k and 99k lines) plus around 25 example and plotting scripts. It is also 85 commits behind main, and main has since gained an Could you close this one and resubmit as a few small PRs, each with a test and based on current main? A structure that would work well:
The iota, Poincaré and plotting scripts can mostly reuse existing ESSOS examples, so I'd leave them out at first. Happy to review each piece as it comes in. |
Adds permanent-magnet field and optimization examples, with MUSE and rotating-ellipse inputs for reproducing the experiments.
Follow-up validation
muse_opt_inputs_64x64.npzfrom 8,835,264 to 6,311,880 bytes, a saving of 2,523,384 bytes (28.56%). The path, seven NumPy members and their uncompressed bytes are preserved. The native FOCUS input paths are preserved, including the attributed Zot80 fixture from SIMSOPT.