Skip to content

Commit

Permalink
Update body.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bburke38 committed May 3, 2024
1 parent db229df commit 123d19b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion funtofem/model/body.py
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,10 @@ def _distribute_struct_loads(
"load": entry["load"],
"hflux": entry["hflux"],
}


if self.struct_id is None:
return

for ind, struct_id in enumerate(self.struct_id):
if include_elastic:
self._fixed_struct_loads[scenario_id][3 * ind : 3 * ind + 3] = (
Expand Down

0 comments on commit 123d19b

Please sign in to comment.