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:
parent
8784f2a88d
commit
d38cee73bf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user