Skip to content
Snippets Groups Projects
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
Branches
No related merge requests found
......@@ -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):
"""
......
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