"-"sign caused reversed deformation mode

This commit is contained in:
Martin Diehl 2016-06-27 15:19:02 +02:00
parent 2ebc5ec8ea
commit b40cbd68bb
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def displacementFluctFFT(F,grid,size,nodal=False,transformed=False):
#--------------------------------------------------------------------------------------------------
# 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)),
k_s,
integrator,