Commit 6266cf80 authored by Christoph Rettinger's avatar Christoph Rettinger
Browse files

Merge branch 'FixRefinementScaling' into 'master'

[BugFix] force scaling

See merge request walberla/walberla!523
parents 6ae9fa3f f6b5dc49
......@@ -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