Skip to content

Regcoil branch #596

Open
akaptano wants to merge 189 commits intomasterfrom
regcoil
Open

Regcoil branch #596
akaptano wants to merge 189 commits intomasterfrom
regcoil

Conversation

@akaptano
Copy link
Contributor

@akaptano akaptano commented Feb 9, 2026

REGCOIL functionality has been languishing on a separate branch for a while, but I believe is fully functional and just needs some polishing, clean-up, unit tests. Trying to get this up to speed.

akaptano and others added 30 commits July 6, 2022 02:46
…dded a test benchmark using the calculation in Eqs 31 and 32 in the efficient fields paper by matt landreman and allen boozer but havent finished yet.
…high aspect ratio, circular cross section torus test file. However, seems to be an error with the get_dofs function in the SurfaceRZFourier call now. Not sure if this is my issue with calling the function or Elizabeth broke something in the code.
…nst the analytic solution, and correctly reduces to a dipole in the far field limit. Testing the expanded fields very close to the finite-width current loop (high aspect ratio circular tokamak) is still not quite working but should be able to finish this up next week pretty easily.
…e is not polished or clear what its trying to accomplish/show, and the figures are not coming up properly. unit tests are not fully working, and test_regcoil_write takes ages, not sure why its so slow.
…dramatically, it was computing the lipschitz constant very slowly. Updated the example and got the unit tests running much better.
…d is not available. Remove quadcoil functionality that frank briefly implemented. Update and fix tests. Remove unnecessary diffs with main branch.
@akaptano akaptano requested a review from ejpaul February 11, 2026 19:57
…t touched this functionality on this branch. Adding an except in case that helps.
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

❌ Patch coverage is 97.26508% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.56%. Comparing base (b1eb111) to head (d57684a).

Files with missing lines Patch % Lines
...c/simsopt/util/winding_surface_helper_functions.py 97.17% 22 Missing ⚠️
src/simsopt/field/currentpotential.py 97.34% 16 Missing ⚠️
src/simsopt/field/magneticfieldclasses.py 97.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #596      +/-   ##
==========================================
+ Coverage   89.97%   90.56%   +0.58%     
==========================================
  Files          84       86       +2     
  Lines       17364    18785    +1421     
==========================================
+ Hits        15623    17012    +1389     
- Misses       1741     1773      +32     
Flag Coverage Δ
unittests 90.56% <97.26%> (+0.58%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

lankef
lankef previously approved these changes Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants