Skip to content

Commit

Permalink
Try using only 10 samples in Riemann sum
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisYatunin committed Jul 11, 2024
1 parent 27b32b4 commit 38a28f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analytic_solutions/analytic_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function schar_predicted_velocity(params, coord)
n_efolds = -log(eps(FT))
k_x_max = k_peak + 2 * sqrt(n_efolds) / a
(Δu, Δv, Δw) =
2 * definite_integral(FT(0), k_x_max, 10000, 20) do k_x
2 * definite_integral(FT(0), k_x_max, 10, 20) do k_x
_FT = typeof(k_x) # Redefine FT to prevent it from getting boxed.
Fh =
h_max * a / (8 * sqrt(_FT(π))) * (
Expand Down

0 comments on commit 38a28f6

Please sign in to comment.