We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e900d commit 062a1e7Copy full SHA for 062a1e7
1 file changed
fluidsim/base/output/kolmo_law.py
@@ -217,7 +217,7 @@ def compute(self):
217
218
# Compute second-order structure function
219
val = sum(fft_vi[i] * fft_vi[i].conj() for i in range(3))
220
- S2_k_r = 2 * E_k_mean - 2 * self.sim.oper.ifft(val)
+ S2_k_r = 4 * E_k_mean - 2 * self.sim.oper.ifft(val)
221
222
# If buoyancy field exists, compute J_p
223
if "b" in keys_state_phys:
@@ -264,6 +264,8 @@ def compute(self):
264
Jk_r_array[0], Jk_r_array[1], Jk_r_array[2]
265
)
266
267
+ raise
268
+
269
Jh_k, Jt_k, Jv_k = self.coord_conv.compute_cylindrical_components(
270
271
0 commit comments