bugfix: fluct displacement were wrongly scaled
This commit is contained in:
parent
5b8194d8eb
commit
d64b64ed05
|
@ -186,7 +186,7 @@ def displacement_fluct_point(size: _FloatSequence,
|
||||||
Fluctuating part of the cell center displacements.
|
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 = _ks(size,F.shape[:3],False)
|
||||||
k_s_squared = _np.einsum('...l,...l',k_s,k_s)
|
k_s_squared = _np.einsum('...l,...l',k_s,k_s)
|
||||||
|
|
Loading…
Reference in New Issue