From d64b64ed0519c9506ac8d1b394f03a4e6b6c8045 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 4 Jun 2023 22:20:44 +0200 Subject: [PATCH] bugfix: fluct displacement were wrongly scaled --- python/damask/grid_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/grid_filters.py b/python/damask/grid_filters.py index 462621e53..c60e973b9 100644 --- a/python/damask/grid_filters.py +++ b/python/damask/grid_filters.py @@ -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)