Skip to content
Snippets Groups Projects
Commit 299f4fb4 authored by Martin Bauer's avatar Martin Bauer
Browse files

Bugfix: omega_output_field did not work together with entropic models

parent be4a4290
No related merge requests found
......@@ -69,8 +69,7 @@ def add_entropy_condition(collision_rule, omega_output_field=None):
new_collision_rule.simplification_hints['entropic_newton_iterations'] = None
if omega_output_field:
from lbmpy.updatekernels import write_quantities_to_field
new_collision_rule = write_quantities_to_field(new_collision_rule, omega_h, omega_output_field)
new_collision_rule.main_assignments.append(Assignment(omega_output_field.center, omega_h))
return new_collision_rule
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment