Commit f6b5dc49 authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix force scaling

parent 6ae9fa3f
......@@ -187,7 +187,7 @@ class RefinementScaling:
self.add_scaling(viscosity_relaxation_rate, relaxation_rate_scaling)
def add_force_scaling(self, force_parameter):
self.add_scaling(force_parameter, lambda param, factor: param * factor)
self.add_scaling(force_parameter, lambda param, factor: param * (1 / factor))
def add_scaling(self, parameter, scaling_rule):
"""
......
Markdown is supported
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