From cd0a9e80575ec89b842df018ee954370e7041f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefanie=20D=C3=BCssler?= Date: Wed, 20 Sep 2023 11:31:31 +0200 Subject: [PATCH] fix [uvlmlib] name of input parameter only_lifting instead of lifting_only --- sharpy/aero/utils/uvlmlib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sharpy/aero/utils/uvlmlib.py b/sharpy/aero/utils/uvlmlib.py index 5946e557f..10903b955 100644 --- a/sharpy/aero/utils/uvlmlib.py +++ b/sharpy/aero/utils/uvlmlib.py @@ -166,8 +166,8 @@ def set_options(self, n_surfaces_nonlifting = 0, dt = None, convect_wake = False, - n_span_panels_wo_u_ind = 0, - lifting_only=True): + n_span_panels_wo_u_ind = 0, + only_lifting=True): if dt is None: self.dt = ct.c_double(options["dt"]) else: @@ -191,7 +191,7 @@ def set_options(self, self.quasi_steady = ct.c_bool(options['quasi_steady']) self.only_nonlifting = ct.c_bool(options["only_nonlifting"]) - self.only_lifting = ct.c_bool(lifting_only) + self.only_lifting = ct.c_bool(only_lifting) self.phantom_wing_test = ct.c_bool(options["phantom_wing_test"]) self.ignore_first_x_nodes_in_force_calculation = ct.c_uint(options["ignore_first_x_nodes_in_force_calculation"]) self.num_spanwise_panels_wo_induced_velocity = n_span_panels_wo_u_ind