From f65b97b96ec4111807222fd95057813a454a2bea Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sat, 5 Apr 2025 20:50:12 -0300 Subject: Enable multithreaded FFTW with openmp --- fourier.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fourier.hpp') diff --git a/fourier.hpp b/fourier.hpp index 406f2f2..1ebb7bc 100644 --- a/fourier.hpp +++ b/fourier.hpp @@ -5,6 +5,10 @@ #include #include +#ifndef FFTW_THREADS +#define FFTW_THREADS 1 +#endif + using Real = double; using Complex = std::complex; using namespace std::complex_literals; -- cgit v1.2.3-70-g09d2