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

Add Vector Potential Calculation to Coil classes and Most MagneticField Classes #1026

Merged
merged 71 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
a0ded34
add biot savart vector potential for general and coils and add test f…
dpanici May 20, 2024
483ddec
add hanson hirshman vector pot calc for splinexyzcoil
dpanici May 20, 2024
c5e2c3f
add vector potential function for fourier current potential and add t…
dpanici May 20, 2024
a10028f
add vector potential computation to the current potential field class
dpanici May 20, 2024
63e849b
Merge branch 'master' into dp/vector-potential
dpanici May 21, 2024
7bf6915
add test for coils integrating over a flux loop, has revealed a bug i…
dpanici May 21, 2024
34ed85f
fix error in HH vector potential integral function
dpanici May 21, 2024
94fce67
fix comment in test
dpanici May 21, 2024
170b550
fix orientation confusion
dpanici May 21, 2024
acc6354
add vector potential calculation for analytic fields
dpanici May 22, 2024
dcf73f1
add vector potential method with not implemented error for the fields…
dpanici May 22, 2024
14f1265
Merge branch 'master' into dp/vector-potential
dpanici May 22, 2024
50028cd
Merge branch 'master' into dp/vector-potential
dpanici May 28, 2024
89f5200
add VectorPotentialField, ability to save/load vector potential for m…
dpanici Jun 9, 2024
08a6b3c
fix vfield vector potential
dpanici Jun 9, 2024
7ca27fc
Merge branch 'dp/vector-potential' of github.com:PlasmaControl/DESC i…
dpanici Jun 9, 2024
e5d2302
add catch for warnings in test
dpanici Jun 10, 2024
7d4de49
Merge branch 'master' into dp/vector-potential
dpanici Jun 10, 2024
877e5ad
add to changelog and add comment
dpanici Jun 11, 2024
d47699e
Merge branch 'master' into dp/vector-potential
dpanici Jun 19, 2024
d74e176
Merge branch 'master' into dp/vector-potential
dpanici Jun 20, 2024
830b6a4
Merge branch 'dp/vector-potential' of github.com:PlasmaControl/DESC i…
dpanici Jul 16, 2024
9e7c1f0
Merge branch 'master' into dp/vector-potential
dpanici Jul 16, 2024
5c8b56a
fix basic_fields test
dpanici Jul 16, 2024
ec576d6
fix bug in vector magnetic potential in spline magnetic field
dpanici Jul 16, 2024
08f7445
fix freeb test
dpanici Jul 16, 2024
15a1b1d
Merge branch 'master' into dp/vector-potential
dpanici Jul 17, 2024
3d4e820
fix tests
dpanici Jul 17, 2024
dc5aa01
fix tests
dpanici Jul 17, 2024
f961353
Merge branch 'master' into dp/vector-potential
dpanici Jul 17, 2024
6a5a4c9
Merge branch 'master' into dp/vector-potential
dpanici Jul 19, 2024
7a0042a
Merge branch 'master' into dp/vector-potential
dpanici Jul 19, 2024
c6b8090
make test more compact
dpanici Jul 19, 2024
c5464a9
make test more compact
dpanici Jul 19, 2024
ac979c5
address comments
dpanici Jul 20, 2024
778110b
Merge branch 'master' into dp/vector-potential
dpanici Jul 20, 2024
911650a
fix test
dpanici Jul 20, 2024
d22fa59
refactor magnetic field computes to re-use code
dpanici Jul 21, 2024
4d89bde
refactor compute methods of current potential fields
dpanici Jul 21, 2024
9d89709
refactor coils compute magnetic field to use less code
dpanici Jul 21, 2024
1d60c40
fix docstring error
dpanici Jul 21, 2024
7bdd425
Merge branch 'master' into dp/vector-potential
dpanici Jul 22, 2024
675383c
Merge branch 'master' into dp/vector-potential
dpanici Aug 1, 2024
35fd294
fix vector pot saving for spline field, add test
dpanici Aug 1, 2024
c54723d
change toroidal flux obj to use vector potential
dpanici Aug 1, 2024
4574dc4
add tests to cover both methods of toroidal flux obj
dpanici Aug 1, 2024
00e4b98
address comment
dpanici Aug 1, 2024
4e4410b
add test
dpanici Aug 1, 2024
d337ed9
address comment
dpanici Aug 1, 2024
bd61ef8
update changelog
dpanici Aug 1, 2024
ac7aaa2
update changelog (again)
dpanici Aug 1, 2024
008ecbc
put comments assuming coulomb gauge
dpanici Aug 2, 2024
e500676
Merge branch 'master' into dp/vector-potential
dpanici Aug 8, 2024
e3b0e44
address comments
dpanici Aug 8, 2024
c45a475
update changelog
dpanici Aug 8, 2024
68beebc
remove forgotten arg
dpanici Aug 8, 2024
9134103
fix list of expected errors
dpanici Aug 9, 2024
c44779e
Merge branch 'master' into dp/vector-potential
dpanici Aug 14, 2024
31dc536
Merge branch 'master' into dp/vector-potential
f0uriest Aug 18, 2024
d5dd005
Merge branch 'master' into dp/vector-potential
dpanici Aug 20, 2024
1c889e6
Merge branch 'master' into dp/vector-potential
dpanici Aug 20, 2024
4474a27
Merge branch 'master' into dp/vector-potential
dpanici Aug 21, 2024
8e3631f
Merge branch 'master' into dp/vector-potential
dpanici Aug 26, 2024
3dc95b3
Merge branch 'master' into dp/vector-potential
dpanici Aug 27, 2024
8932a77
Merge branch 'master' into dp/vector-potential
dpanici Aug 28, 2024
5f3d337
Merge branch 'master' into dp/vector-potential
dpanici Aug 28, 2024
0505027
Merge branch 'master' into dp/vector-potential
dpanici Aug 29, 2024
7bb7bd3
remove _AB fxns for simpler fields
dpanici Aug 29, 2024
cd2a041
address comment
dpanici Aug 29, 2024
2b99cc8
remove todo
dpanici Aug 29, 2024
98053b3
Merge branch 'master' into dp/vector-potential
dpanici Sep 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ 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``.


v0.12.1
-------
Expand Down
Loading
Loading