Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bburke38 committed Dec 12, 2024
1 parent 319ea87 commit ff49fca
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions funtofem/driver/funtofem_shape_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,18 +511,16 @@ def solve_forward(self):
# make the new tacs interface of the structural geometry
if self.uses_tacs:
if self.tacs_inertial:
self.solvers.structural = (
TacsSteadyInterface.create_from_bdf(
model=self.model,
comm=self.comm,
nprocs=self.struct_nprocs,
bdf_file=self.struct_aim.root_dat_file,
prefix=self.struct_aim.root_analysis_dir,
callback=self.struct_callback,
panel_length_dv_index=0,
panel_width_dv_index=5,
inertial_loads=True
)
self.solvers.structural = TacsSteadyInterface.create_from_bdf(
model=self.model,
comm=self.comm,
nprocs=self.struct_nprocs,
bdf_file=self.struct_aim.root_dat_file,
prefix=self.struct_aim.root_analysis_dir,
callback=self.struct_callback,
panel_length_dv_index=0,
panel_width_dv_index=5,
inertial_loads=True,
)
else:
self.solvers.structural = TacsInterface.create_from_bdf(
Expand Down

0 comments on commit ff49fca

Please sign in to comment.