Skip to content
Snippets Groups Projects
Commit c6cfed96 authored by Jonas Krimmer's avatar Jonas Krimmer
Browse files

fix: sampling requirement for inner scale

parent f17fc1f0
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ function check_ps_sampling(domain::Domain, channel::TurbulentChannel; λ=1.55e-6
end
function check_ps_sampling(Nz, dx, dz, Cn², l0; λ=1.55e-6, silent=false)
req5 = dx l0
req5 = 2dx l0
if !req5 && !silent
@warn "Resolution dx=$dx insufficient for sampling of inner scale l0=$l0."
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment