mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Scalar: easier Fourier acceleration parametrisation through -D flags
This commit is contained in:
		@@ -89,12 +89,11 @@ 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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user