diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-05 20:50:12 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-05 20:50:12 -0300 |
commit | f65b97b96ec4111807222fd95057813a454a2bea (patch) | |
tree | 4e5162dca4347a5604ad207fd8cf81fcf48fc2fd /fourier.hpp | |
parent | 8328c8294c144e30310c79e15c80a5bf06315bf0 (diff) | |
download | code-f65b97b96ec4111807222fd95057813a454a2bea.tar.gz code-f65b97b96ec4111807222fd95057813a454a2bea.tar.bz2 code-f65b97b96ec4111807222fd95057813a454a2bea.zip |
Enable multithreaded FFTW with openmp
Diffstat (limited to 'fourier.hpp')
-rw-r--r-- | fourier.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fourier.hpp b/fourier.hpp index 406f2f2..1ebb7bc 100644 --- a/fourier.hpp +++ b/fourier.hpp @@ -5,6 +5,10 @@ #include <vector> #include <tuple> +#ifndef FFTW_THREADS +#define FFTW_THREADS 1 +#endif + using Real = double; using Complex = std::complex<Real>; using namespace std::complex_literals; |