diff options
author | 2020-12-07 10:46:19 -0800 | |
---|---|---|
committer | 2020-12-07 10:46:19 -0800 | |
commit | a3241fd707803264674369a96e91f0aca87c3b78 (patch) | |
tree | ebfbe244aee91b8ff8043baa27d399cf67200fb7 /Source/FieldSolver/SpectralSolver | |
parent | 1f8ab0e625f27e9201b0da9dcfbab52c30112089 (diff) | |
download | WarpX-a3241fd707803264674369a96e91f0aca87c3b78.tar.gz WarpX-a3241fd707803264674369a96e91f0aca87c3b78.tar.zst WarpX-a3241fd707803264674369a96e91f0aca87c3b78.zip |
AnyFFT: `AMReX_Config.H` (#1553)
We reduce the number of command line arguments passed in the AMReX
build systems by placing defines in an `AMReX_Config.H` file that
is configured at AMReX build time. Files like `AMReX.H` will pull
it in as well.
In the case of `AnyFFT.H`, we need to make sure this is included
before we check the preprocessor defines.
Diffstat (limited to 'Source/FieldSolver/SpectralSolver')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/AnyFFT.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/FieldSolver/SpectralSolver/AnyFFT.H b/Source/FieldSolver/SpectralSolver/AnyFFT.H index 1a551c167..6ba77e13b 100644 --- a/Source/FieldSolver/SpectralSolver/AnyFFT.H +++ b/Source/FieldSolver/SpectralSolver/AnyFFT.H @@ -8,6 +8,8 @@ #ifndef ANYFFT_H_ #define ANYFFT_H_ +#include <AMReX_Config.H> + #if defined(AMREX_USE_CUDA) # include <cufft.h> #elif defined(AMREX_USE_HIP) |