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
I realized that it's pretty easy to find the z=0 point on a given strip and force strip below this point. This will let people trim ship hulls very easily. Also fixed up a bad test and the Wigley hull README example.
invΔs = 33; dₙ = 1/100; # held constant for all methods/test_curves
224
-
println("Metrics using Δs = L/$invΔs and dₙ=$dₙ")
223
+
N′ = 33; dₙ = 1/100; # held constant for all methods/test_curves
224
+
println("Metrics using Δs = L/$N′ and dₙ=$dₙ")
225
225
for method in (subdivision,κ_weighted,NDLP)
226
226
println("\nMethod: $method")
227
227
map(test_curves) do (name, r, range, _)
228
-
(;name,metrics(method,r,range...,1/invΔs,dₙ)...)
228
+
(;name,metrics(method,r,range...,N′,dₙ)...)
229
229
end |> Table |> display
230
230
end
231
231
end
232
232
233
233
# ╔═╡ 561a1373-57a4-4b67-be5a-9d94c9496360
234
234
md"""
235
-
## Convergence study
235
+
## Sampling sensitivity study
236
236
237
-
We also evaluate the convergence of the NDLP segmentation metrics as the $\Delta s$ and $d_n$ limits vary. We use the cubic spline fish as a representative curve.
237
+
We also evaluate the sensitivity of the NDLP sampling as the $\Delta s$ and $d_n$ limits vary. We use the cubic spline fish as a representative curve.
238
238
239
239
Holding $d_n=1\%$ constant and *reducing* $\Delta s$ shows two distance phases.
240
240
- In the first phase, the deviation $\max(\delta)$ goes rapidly to the limit $d_n\Delta s$ and holds steady while the excess number of segments and total variation in the panel lengths drops to zero with $\Delta s$.
@@ -244,14 +244,14 @@ Holding $d_n=1\%$ constant and *reducing* $\Delta s$ shows two distance phases.
0 commit comments