Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Sep 1, 2024
1 parent 8b1bd3f commit 79813a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/KiteModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ const SVec3 = SVector{3, SimFloat}

# the following two definitions speed up the function residual! from 940ns to 540ns
# disadvantage: changing the cl and cd curves requires a restart of the program
const rad_cl = Spline1D(deg2rad.(se().alpha_cl), se().cl_list, k=3)
const rad_cd = Spline1D(deg2rad.(se().alpha_cd), se().cd_list, k=3)
const rad_cl_mtk = CubicSpline(se().cl_list, deg2rad.(se().alpha_cl); extrapolate=true)
const rad_cd_mtk = CubicSpline(se().cd_list, deg2rad.(se().alpha_cd); extrapolate=true)

Expand Down

0 comments on commit 79813a4

Please sign in to comment.