mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Scalar: easier Fourier acceleration parametrisation through -D flags
This commit is contained in:
parent
8784f2a88d
commit
d38cee73bf
@ -89,13 +89,12 @@ class ScalarImplTypes {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef USE_FFT_ACCELERATION
|
||||||
#define USE_FFT_ACCELERATION
|
#ifndef FFT_MASS
|
||||||
#ifdef USE_FFT_ACCELERATION
|
#error "USE_FFT_ACCELERATION is defined but not FFT_MASS"
|
||||||
#define FFT_MASS 0.707
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
template <class S, unsigned int N>
|
template <class S, unsigned int N>
|
||||||
class ScalarAdjMatrixImplTypes {
|
class ScalarAdjMatrixImplTypes {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user