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

Polish

parent 36e9ce82
No related branches found
No related tags found
No related merge requests found
...@@ -6,20 +6,15 @@ contains ...@@ -6,20 +6,15 @@ contains
subroutine set_max_speed(e, 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 and max_speed
! radius4 of argument e. On return, e%speed_cont may be a null ssh ! of argument e. On return, e%speed_cont may be a null ssh contour
! contour but e%max_speed is never set to missing_speed. However, ! and e%max_speed may be set to missing_speed. However,
! e%max_speed might be NaN if speed_outerm is NaN (with any value ! e%max_speed is never NaN. On return, if e%speed_cont is not a
! of e%radius4). The value of e%radius4 set here is always >= ! null ssh contour then e%max_speed is the speed on e%speed_cont.
! 1. On return, if e%speed_cont is not a null ssh contour then
! e%max_speed is the speed on e%speed_cont.
! The length of the interval of longitudes of the domain, step(1) ! The length of the interval of longitudes of the domain, step(1)
! * (size(ssh, 1) - 1), should be < 180 degrees, so that the ! * (size(ssh, 1) - 1), should be < 180 degrees, so that the
! geometrical processing done here is non-ambiguous. The ! geometrical processing done here is non-ambiguous.
! longitudes of outside points should be in the interval
! [corner(1), corner(1) + step(1) * (size(ssh, 1) - 1)] as there
! will be no automatic shifting by a multiple of 360 degrees.
use, intrinsic:: IEEE_ARITHMETIC, only: IEEE_IS_NAN use, intrinsic:: IEEE_ARITHMETIC, only: IEEE_IS_NAN
......
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