Skip to content

Feat: FFT-based self-gravity solver - #398

Open
glesur wants to merge 5 commits into
developfrom
FFTSelfGravity
Open

Feat: FFT-based self-gravity solver#398
glesur wants to merge 5 commits into
developfrom
FFTSelfGravity

Conversation

@glesur

@glesur glesur commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR adds a new FFT-based solver for the Poisson equation as an alternative to the existing iterative solvers.

Implementation

The new module is built on Kokkos-fft, which is added as a submodule alongside Kokkos. It also requires an external FFT library (e.g. FFTW on CPU) to build. The feature is enabled via the Idefix_FFT CMake option.

Limitations

MPI domain decomposition is only supported along X3.
Only cartesian domains with periodic boundary conditions are supported.

Acknowledgements

The parallel FFT class and transposition code are adapted from the implementation in Astra.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant