Skip to content

Commit

Permalink
Add Vector Potential Calculation to Coil classes and Most `Magnetic…
Browse files Browse the repository at this point in the history
…Field` Classes (#1026)
  • Loading branch information
dpanici authored Sep 4, 2024
2 parents d2e9a2c + 98053b3 commit d2deffa
Show file tree
Hide file tree
Showing 10 changed files with 2,006 additions and 150 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Changelog
New Features

- Add ``use_signed_distance`` flag to ``PlasmaVesselDistance`` which will use a signed distance as the target, which is positive when the plasma is inside of the vessel surface and negative if the plasma is outside of the vessel surface, to allow optimizer to distinguish if the equilbrium surface exits the vessel surface and guard against it by targeting a positive signed distance.
- Add ``VectorPotentialField`` class to allow calculation of magnetic fields from a user-specified
vector potential function.
- Add ``compute_magnetic_vector_potential`` methods to most ``MagneticField`` objects to allow vector potential
computation.
- Add ability to save and load vector potential information from ``mgrid`` files.
- Changes ``ToroidalFlux`` objective to default using a 1D loop integral of the vector potential
to compute the toroidal flux when possible, as opposed to a 2D surface integral of the magnetic field dotted with ``n_zeta``.
- Allow specification of Nyquist spectrum maximum modenumbers when using ``VMECIO.save`` to save a DESC .h5 file as a VMEC-format wout file

Bug Fixes
Expand Down
Loading

0 comments on commit d2deffa

Please sign in to comment.