"-"sign caused reversed deformation mode
This commit is contained in:
parent
2ebc5ec8ea
commit
b40cbd68bb
|
@ -69,7 +69,7 @@ def displacementFluctFFT(F,grid,size,nodal=False,transformed=False):
|
||||||
#--------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------
|
||||||
# integration in Fourier space
|
# integration in Fourier space
|
||||||
|
|
||||||
displacement_fourier = -np.einsum('ijkml,ijkl,l->ijkm',
|
displacement_fourier = +np.einsum('ijkml,ijkl,l->ijkm',
|
||||||
F if transformed else np.fft.rfftn(F,axes=(0,1,2)),
|
F if transformed else np.fft.rfftn(F,axes=(0,1,2)),
|
||||||
k_s,
|
k_s,
|
||||||
integrator,
|
integrator,
|
||||||
|
|
Loading…
Reference in New Issue