simsopt v0.2.0
This release introduces some additions and bug fixes for majority of modules in simsopt.
Changes introduced:
- New class for Reiman magnetic field (see section 5 of Reiman, Greenside (1986), "Calculation of three-dimensional MHD equilibria with islands and stochastic regions", Computer Physics Communications 43 (157-167)) is added by Rogerio. This field has the advantage of allowing an exact calculation of the island width which can be used for island width optimization (example: https://arxiv.org/abs/2102.04497).
- Faster Biot-Savart code by Florian
- A simplified logging interface is introduced by Bharat. Logging can be enabled by using the following two lines in your driver script:
from simsopt import initialize_logging
initialize_logging(filename="simsopt.log") # Filename option can be omitted in which case the default name is default.log- Some modules are rearranged.
- Top-level imports for important classes are introduced.
- Automatic linting script implemented by Florian. Before you submit your additions/changes to simsopt as PR, please run the
run_autopepscript. Requires autopep8 and flake8. - A new exception class to handle failures in objective function (credits to Matt Landremann).
- Bug fixes.
- Improved documentation.