Add dipole magnetic vector potential calcs#24
Merged
jlogan-cfs merged 18 commits intoreleasefrom Oct 29, 2025
Merged
Conversation
29ab2e8 to
8051f9f
Compare
Collaborator
3.0.0 2025-10-29Added
Changed
|
mdavids-cfs
commented
Oct 29, 2025
Collaborator
Author
mdavids-cfs
left a comment
There was a problem hiding this comment.
Looking good!
| import cfsem | ||
|
|
||
| from . import test_funcs as _test | ||
| from test import test_funcs as _test |
Collaborator
Author
There was a problem hiding this comment.
FYI, I changed
from . import test_funcs as _test
to
from test import test_funcs as _test
while I was testing it, so I could run some tests in the debugger
| let rmag = r2.sqrt(); // [m] | ||
| let rhat = (r.0 / rmag, r.1 / rmag, r.2 / rmag); // [dimensionless] | ||
| let r3 = rmag * rmag * rmag; // [m^3] | ||
| let r3 = r2 * rmag; // [m^3] |
Collaborator
Author
There was a problem hiding this comment.
This is wizardry!
jlogan-cfs
approved these changes
Oct 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.