Skip to content
Snippets Groups Projects
Commit ed2abbd1 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Shortcut if `radius <= 2`

parent cd01db42
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,12 @@ contains ...@@ -50,7 +50,12 @@ contains
! outermost contour as max-speed contour. ! outermost contour as max-speed contour.
max_speed_contour_ssh = missing_ssh max_speed_contour_ssh = missing_ssh
else else
l = maxloc(abs(sum(v_azim, dim = 1) / 4.), dim = 1) if (radius >= 3) then
l = maxloc(abs(sum(v_azim, dim = 1) / 4.), dim = 1)
else
l = 1
end if
direction = maxloc(abs(v_azim(:, l)), dim = 1) direction = maxloc(abs(v_azim(:, l)), dim = 1)
select case (direction) select case (direction)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment