Skip to content

Commit

Permalink
use GMRES
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Mar 16, 2024
1 parent da66d63 commit 1888ba6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion data/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ initial:
solver:
abs_tol: 0.0006 # absolute tolerance of the DAE solver [m, m/s]
rel_tol: 0.001 # relative tolerance of the DAE solver [-]
linear_solver: "LapackDense" # can be GMRES or Dense or LapackDense
linear_solver: "GMRES" # can be GMRES or Dense or LapackDense
max_order: 4 # maximal order, usually between 3 and 5
max_iter: 200 # max number of iterations of the steady-state-solver

Expand Down
11 changes: 6 additions & 5 deletions examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ println("Maximum time per timestep: $(maximum(DELTA_T)) ms")
index=Int64(round(12/dt))
println("Maximum for t>12s : $(maximum(DELTA_T[index:end])) ms")

# GC disabled, Ryzen 7950X, 4x realtime
# Missed the deadline for 0.04 %. Max time: 166.1 ms
# Mean time per timestep: 3.0985575495652173 ms
# Maximum time per timestep: 11.14224 ms
# Maximum for t>12s : 11.14224 ms
# GC disabled, Ryzen 7950X, 4x realtime, GMRES
# abs_tol: 0.0006, rel_tol: 0.001
# Missed the deadline for 0.04 %. Max time: 160.4 ms
# Mean time per timestep: 3.1066040097826084 ms
# Maximum time per timestep: 11.13074 ms
# Maximum for t>12s : 11.13074 ms

0 comments on commit 1888ba6

Please sign in to comment.