Skip to content

Commit

Permalink
0206
Browse files Browse the repository at this point in the history
  • Loading branch information
tian50 committed Feb 7, 2021
1 parent 7214bfa commit b27281b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dakota_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def process(fn_json_args):

# Location of the origin relative to a ref point
# e.g., leading edge of the airfoil
origin_ref_2 = interface_args['origin_ref_2']
sc_ref_2 = ms.shear_center[1] + origin_ref_2
# origin_ref_2 = interface_args['origin_ref_2']
# sc_ref_2 = ms.shear_center[1] + origin_ref_2
xo2 = 0
xo3 = 0

Expand Down Expand Up @@ -121,6 +121,11 @@ def process(fn_json_args):
results[rn].function = r

elif type(interface_args['post_process']).__name__ == 'dict':
# Location of the origin relative to a ref point
# e.g., leading edge of the airfoil
origin_ref_2 = interface_args['origin_ref_2']
sc_ref_2 = ms.shear_center[1] + origin_ref_2

for k, v in interface_args['post_process'].items():
# print('')
# print('v[0]:', v[0])
Expand Down

0 comments on commit b27281b

Please sign in to comment.