You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change default mass Function classmethod to have func.adjoint = False
Verify that this doesn't mess up the derivatives in FUN3D using the function.id attributes and pushing and pulling composite function calls. The function.id values are setup in the Scenario,Body class
Fails in the tacs_interface.py with the following when there were 4 total functions, and mass was implemented as adjoint=False. Seems like some of these shape_term expressions should include adjoint_functions as the mass does have structural shape derivatives. (so in the setup need to change the size)
File "/p/home/seanfire/git/funtofem/funtofem/driver/_funtofem_driver.py", line 315, in _extract_coordinate_derivatives
solver.get_coordinate_derivatives(scenario, self.model.bodies, step)
File "/p/home/seanfire/git/funtofem/funtofem/interface/tacs_interface.py", line 963, in get_coordinate_derivatives
struct_shape_term[:, ifunc] += array.astype(body.dtype)
IndexError: index 3 is out of bounds for axis 1 with size 3
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: