using 3 way merge to have syntax as similar as possible
This commit is contained in:
parent
cbe2fb8d57
commit
873c52cceb
|
@ -19,7 +19,7 @@ def divFFT(geomdim,field):
|
|||
elif n == 9: dataType = 'tensor'
|
||||
|
||||
field_fourier = np.fft.rfftn(field,axes=(0,1,2),s=shapeFFT)
|
||||
div_fourier = np.empty(field_fourier.shape[0:len(np.shape(field))-1],'c16') # size depents on whether tensor or vector
|
||||
div_fourier = np.empty(field_fourier.shape[0:len(np.shape(field))-1],'c16')
|
||||
|
||||
# differentiation in Fourier space
|
||||
TWOPIIMG = 2.0j*math.pi
|
||||
|
|
Loading…
Reference in New Issue