bugfix: fluct displacement were wrongly scaled

This commit is contained in:
Martin Diehl 2023-06-04 22:20:44 +02:00
parent 5b8194d8eb
commit d64b64ed05
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ def displacement_fluct_point(size: _FloatSequence,
Fluctuating part of the cell center displacements.
"""
integrator = 0.5j*_np.array(size,float)/_np.pi
integrator = 0.5j*_np.ones(3)/_np.pi
k_s = _ks(size,F.shape[:3],False)
k_s_squared = _np.einsum('...l,...l',k_s,k_s)