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

Remove argument `ind_targ_extr` of `set_max_speed`

Remove dummy argument `ind_targ_extr` of procedure `set_max_speed`,
not used any longer.
parent 116cd9c2
No related branches found
No related tags found
No related merge requests found
...@@ -68,8 +68,7 @@ program test_set_max_speed ...@@ -68,8 +68,7 @@ program test_set_max_speed
corner_window = corner + (llc - 1) * step corner_window = corner + (llc - 1) * step
e%extr%coord_proj = nint((e%extr%coord - corner) / step) + 1 e%extr%coord_proj = nint((e%extr%coord - corner) / step) + 1
cont_list(1) = e%out_cont cont_list(1) = e%out_cont
call set_max_speed(e, e%extr%coord_proj - llc + 1, & call set_max_speed(e, ssh(llc(1):urc(1), llc(2):urc(2)), &
ssh(llc(1):urc(1), llc(2):urc(2)), &
u(llc(1):urc(1), llc(2):urc(2)), & u(llc(1):urc(1), llc(2):urc(2)), &
v(llc(1):urc(1), llc(2):urc(2)), corner_window, step, cont_list) v(llc(1):urc(1), llc(2):urc(2)), corner_window, step, cont_list)
call shpc_create(hshp, shpc_dir = "SHPC", cyclone = cyclone, slice = 0, & call shpc_create(hshp, shpc_dir = "SHPC", cyclone = cyclone, slice = 0, &
......
...@@ -155,8 +155,7 @@ contains ...@@ -155,8 +155,7 @@ contains
corner_window = corner + (llc - 1) * step corner_window = corner + (llc - 1) * step
call set_max_speed(e, e%extr%coord_proj - llc + 1, & call set_max_speed(e, ssh(llc(1):urc(1), llc(2):urc(2)), &
ssh(llc(1):urc(1), llc(2):urc(2)), &
u(llc(1):urc(1), llc(2):urc(2)), & u(llc(1):urc(1), llc(2):urc(2)), &
v(llc(1):urc(1), llc(2):urc(2)), corner_window, step, & v(llc(1):urc(1), llc(2):urc(2)), corner_window, step, &
cont_list(:n_cont)) cont_list(:n_cont))
......
...@@ -4,7 +4,7 @@ module set_max_speed_m ...@@ -4,7 +4,7 @@ module set_max_speed_m
contains contains
subroutine set_max_speed(e, ind_targ_extr, ssh, u, v, corner, step, cont_list) subroutine set_max_speed(e, ssh, u, v, corner, step, cont_list)
! This procedure defines the components speed_cont, max_speed and ! This procedure defines the components speed_cont, max_speed and
! radius4 of argument e. On return, e%speed_cont may be a null ssh ! radius4 of argument e. On return, e%speed_cont may be a null ssh
...@@ -40,8 +40,6 @@ contains ...@@ -40,8 +40,6 @@ contains
! e%out_cont, e%cyclone, e%extr%ssh and e%extr%coord ! e%out_cont, e%cyclone, e%extr%ssh and e%extr%coord
! should be defined on input. ! should be defined on input.
integer, intent(in):: ind_targ_extr(:) ! (2) indices of the target extremum
real, intent(in):: ssh(:, :), u(:, :), v(:, :) real, intent(in):: ssh(:, :), u(:, :), v(:, :)
! The domain should be the bounding box of out_cont, because we do ! The domain should be the bounding box of out_cont, because we do
! not exclude other extrema. ! not exclude other extrema.
......
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