-
Notifications
You must be signed in to change notification settings - Fork 176
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
feat: Add covfie magnetic field plugin #3479
feat: Add covfie magnetic field plugin #3479
Conversation
Can you update the branch? I'll look at this today |
b0769f0
to
4cd2105
Compare
This is now ready for review. |
As acts-project#3479 reveals, we don't currently have any clean, cache-aware ways of accessing B-fields in Python code. In order to avoid hacks, this commit adds the necessary bindings to allow us to cleanly access B-fields with cache objects.
4cd2105
to
8cea693
Compare
As #3479 reveals, we don't currently have any clean, cache-aware ways of accessing B-fields in Python code. In order to avoid hacks, this commit adds the necessary bindings to allow us to cleanly access B-fields with cache objects.
8cea693
to
027a574
Compare
@paulgessinger I have incorporated your feedback and rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not completely sure I understand how you get around the out-of-bounds field access with the interpolated fields now.
The core problem is that ACTS won't allow me to access the points at the edge of a B-field. In a one-dimensional example, if I define a data series as The way I have solved (c.q. hacked) this is by asking for Not super clean (actually quite disgusting) but it works. I investigated accessing the underlying grid directly, but this is not generally supported by ACTS B-field classes, unfortunately. |
027a574
to
9b1974d
Compare
I've resolved the comment issues; I've left them in even if they are not necessary because, well, why not. 😄 |
Ok, looks good. There's a few CI failures that need fixing, otherwise it's good to go I think. |
9b1974d
to
b0346cb
Compare
There's just one remaining clang tidy item about inconsistent argument names between declaration and definition. |
b0346cb
to
d0acf60
Compare
This commit adds a new Acts plugin that adds support for magnetic fields implemented using the covfie library. Co-authored-by: Stephen Nicholas Swatman <[email protected]>
|
This commit adds a new Acts plugin that adds support for magnetic fields implemented using the covfie library.
This commit is based on #3117.
Closes #3117.
Depends on #3478.
Virtually all credit goes to @fredevb.