Skip to content

Commit

Permalink
fix bug on AD
Browse files Browse the repository at this point in the history
  • Loading branch information
ACea15 committed Sep 20, 2024
1 parent 23ddcbd commit ed945f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/SailPlane/settingsADconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@
)
config = configuration.Config(inp)
sol = feniax.feniax_main.main(input_obj=config)
sol.dynamicsystem_sys1.jac
sol.staticsystem_sys1.jac
4 changes: 2 additions & 2 deletions examples/wingSP/settingsADconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
inp.system.solver_library = "diffrax"
# inp.system.solver_library = "runge_kutta"
inp.system.solver_function = "ode"
inp.system.solver_settings = dict(solver_name="") #Dopri5
inp.system.solver_settings = dict(solver_name="Dopri5") #Dopri5
inp.system.xloads.follower_forces = True
inp.system.xloads.follower_points = [[23, 0],
[23, 2]]
Expand Down Expand Up @@ -82,4 +82,4 @@
)
config = configuration.Config(inp)
sol = feniax.feniax_main.main(input_obj=config)
sol.staticsystem_sys1.jac
sol.dynamicsystem_sys1.jac
2 changes: 1 addition & 1 deletion feniax/intrinsic/dynamicAD.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def main_40g11_3(
):
# alpha = inputs["alpha"]
Ka = inputs["Ka"]
Ma = inputs["Ka"]
Ma = inputs["Ma"]
eigenvals = inputs[
"eigenvals"
] # jnp.load(config.fem.folder / config.fem.eig_names[0])
Expand Down
2 changes: 1 addition & 1 deletion feniax/intrinsic/staticAD.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def main_30g11_3(
**kwargs,
):
Ka = inputs["Ka"]
Ma = inputs["Ka"]
Ma = inputs["Ma"]
eigenvals = inputs[
"eigenvals"
] # jnp.load(config.fem.folder / config.fem.eig_names[0])
Expand Down

0 comments on commit ed945f2

Please sign in to comment.