Skip to content

Improved numerical methods for the vacuum module#190

Draft
jhalpern30 wants to merge 15 commits intodevelopfrom
jmh/vacuum_galerkin
Draft

Improved numerical methods for the vacuum module#190
jhalpern30 wants to merge 15 commits intodevelopfrom
jmh/vacuum_galerkin

Conversation

@jhalpern30
Copy link
Collaborator

@jhalpern30 jhalpern30 commented Mar 13, 2026

Per the title, speeding up the vacuum code and making it use less memory. Primarily targeting 3D, but we'll see if any of these help 2D as well

The main goal of this PR is to project the full collocation matrix into Fourier space, making the vacuum response calculation go from O(N^3) compute and O(N^2) memory to O(P^3) compute and O(NP) memory, where N is the physical collocation resolution and P is the number of modes

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.

1 participant