Skip to content
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

Use FFT for MAC projection cases #152

Merged
merged 2 commits into from
Oct 22, 2024

Commits on Oct 21, 2024

  1. Use FFT for MAC projection cases

    For level 0 MAC projection with all periodic boundaries or periodic in the
    first two dimensions and Neumann in the last dimension, there is now the
    option of using FFT. To compile with FFT support, use `USE_FFT=TRUE` for GNU
    Make and `HYDRO_FFT=ON` (which will turn on AMReX_FFT) for CMake. At
    runtime, one needs to specify `mac_proj.use_fft = 1`. If the conditions for
    FFT support are not satisfied, a runtime error may occur. So don't set
    `mac_proj.use_fft=1` unless FFT is supported for the problem.
    
    Note that the current implementation is still experimental.
    WeiqunZhang committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    9fd7cc8 View commit details
    Browse the repository at this point in the history
  2. Fix warning

    WeiqunZhang committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    0441d28 View commit details
    Browse the repository at this point in the history