hickup, probably from merge
This commit is contained in:
parent
26e5f97ff3
commit
c30c7714ad
|
@ -18,7 +18,7 @@ def gradFFT(geomdim,field):
|
||||||
if n == 3: dataType = 'vector'
|
if n == 3: dataType = 'vector'
|
||||||
elif n == 1: dataType = 'scalar'
|
elif n == 1: dataType = 'scalar'
|
||||||
|
|
||||||
field_fourier = nps=shapeFFT).fft.fftpack.rfftn(field,axes=(0,1,2),
|
field_fourier = np.fft.fftpack.rfftn(field,axes=(0,1,2),s=shapeFFT)
|
||||||
grad_fourier = np.empty(field_fourier.shape+(3,),'c16')
|
grad_fourier = np.empty(field_fourier.shape+(3,),'c16')
|
||||||
|
|
||||||
# differentiation in Fourier space
|
# differentiation in Fourier space
|
||||||
|
|
Loading…
Reference in New Issue