Skip to content

Commit

Permalink
fix [uvlmlib] name of input parameter
Browse files Browse the repository at this point in the history
only_lifting instead of lifting_only
  • Loading branch information
sduess committed Sep 20, 2023
1 parent 8369944 commit cd0a9e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sharpy/aero/utils/uvlmlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit cd0a9e8

Please sign in to comment.