1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Scalar: easier Fourier acceleration parametrisation through -D flags

This commit is contained in:
Antonin Portelli 2017-10-03 17:29:34 +01:00
parent 8784f2a88d
commit d38cee73bf

View File

@ -89,13 +89,12 @@ class ScalarImplTypes {
};
#define USE_FFT_ACCELERATION
#ifdef USE_FFT_ACCELERATION
#define FFT_MASS 0.707
#ifdef USE_FFT_ACCELERATION
#ifndef FFT_MASS
#error "USE_FFT_ACCELERATION is defined but not FFT_MASS"
#endif
#endif
template <class S, unsigned int N>
class ScalarAdjMatrixImplTypes {
public: