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

Polish

parent 6b5b2f38
No related branches found
No related tags found
No related merge requests found
......@@ -94,8 +94,10 @@ program eddy_graph
call read_column(ishape_last, &
file = trim(shp_tr_dir) // "/ishape_last.txt", last = n_dates)
n_dates = size(ishape_last)
call assert(n_dates >= max_delta + 1, "eddy_graph n_dates")
call assert(n_proc <= n_dates / (max_delta + 1), "eddy_graph n_proc")
call assert(n_dates >= max_delta + 1, &
"eddy_graph: n_dates should be >= max_delta + 1")
call assert(n_proc <= n_dates / (max_delta + 1), &
"eddy_graph: n_proc should be <= n_dates / (max_delta + 1)")
corner = corner_deg * deg_to_rad
step = step_deg * deg_to_rad
end if
......
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