Fluctuating MRT: use the correct prefactors
+ 11
− 11
@@ -12,30 +12,30 @@ from pystencils.rng import PhiloxFourFloats, random_symbol
@@ -12,30 +12,30 @@ from pystencils.rng import PhiloxFourFloats, random_symbol
normalization_factors = sp.matrix_multiply_elementwise(method.moment_matrix, method.moment_matrix) * \
@@ -46,14 +46,14 @@ def fluctuating_variance_from_temperature(method, temperature, c_s_sq=sp.Symbol(
@@ -46,14 +46,14 @@ def fluctuating_variance_from_temperature(method, temperature, c_s_sq=sp.Symbol(
random_matrix = sp.Matrix([0 if m in conserved_moments else (next(rng_generator) - 0.5) * sp.sqrt(12)