Skip to content

Filament vectorization and avoiding OFT imports - #16

Merged
chandrarn merged 11 commits into
mainfrom
zk/filament-vec
Sep 18, 2026
Merged

chandrarn merged 11 commits into
mainfrom
zk/filament-vec

Conversation

@ZanderKeith

Copy link
Copy Markdown
Collaborator

Some simple changes which improve filament tracing / Biot-Savart performance, as well as avoiding expensive OFT imports when it isn't needed for the trace.

@ZanderKeith
ZanderKeith force-pushed the zk/filament-vec branch 2 times, most recently from 4833726 to ca3f7db Compare September 15, 2026 19:03

@chandrarn chandrarn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments, pytest passes with the odd from OpenFUSIONToolkit._core import OFT_env change.

Comment thread synthwave/tests/test_filament_discretization.py
Comment thread synthwave/tests/test_filament_discretization.py
Comment thread install.sh

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See note to PR #15: proposing to change to PyPi implementation of OFT, instead of Git binary version, and move the install requirement to pyproject.toml

@chandrarn chandrarn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Comments all cleared up, new vectorization is clear and readable.
OFT PyPi switchover will be handled in a separate PR, along with the switch to normalized surface-current-density instead of normalized current magnitude

@chandrarn
chandrarn merged commit e44ec2e into main Sep 18, 2026
16 checks passed
@ZanderKeith

Copy link
Copy Markdown
Collaborator Author

This PR also merged in changes discussed here: #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants