20 |
use caldyn0_m, only: caldyn0 |
use caldyn0_m, only: caldyn0 |
21 |
use comconst, only: cpp, kappa, iniconst |
use comconst, only: cpp, kappa, iniconst |
22 |
use comgeom, only: aire_2d, apoln, apols, cu_2d, cv_2d, inigeom |
use comgeom, only: aire_2d, apoln, apols, cu_2d, cv_2d, inigeom |
23 |
use conf_gcm_m, only: nday, day_step, iphysiq |
use conf_gcm_m, only: nday |
24 |
use dimens_m, only: iim, jjm, llm, nqmx |
use dimens_m, only: iim, jjm, llm, nqmx |
25 |
use dimphy, only: zmasq |
use dimphy, only: zmasq |
26 |
use dimsoil, only: nsoilmx |
use dimsoil, only: nsoilmx |
33 |
use fxhyp_m, only: fxhyp |
use fxhyp_m, only: fxhyp |
34 |
use fyhyp_m, only: fyhyp |
use fyhyp_m, only: fyhyp |
35 |
use geopot_m, only: geopot |
use geopot_m, only: geopot |
36 |
use grid_atob, only: grille_m |
use grille_m_m, only: grille_m |
37 |
use grid_change, only: init_dyn_phy, dyn_phy |
use grid_change, only: init_dyn_phy, dyn_phy |
38 |
use indicesol, only: is_oce, is_sic, is_ter, is_lic, epsfra |
use indicesol, only: is_oce, is_sic, is_ter, is_lic, epsfra |
39 |
use iniadvtrac_m, only: iniadvtrac |
use iniadvtrac_m, only: iniadvtrac |
269 |
! Ad\'equation avec le maque terre/mer |
! Ad\'equation avec le maque terre/mer |
270 |
WHERE (pctsrf(:, is_lic) < EPSFRA) pctsrf(:, is_lic) = 0. |
WHERE (pctsrf(:, is_lic) < EPSFRA) pctsrf(:, is_lic) = 0. |
271 |
WHERE (zmasq < EPSFRA) pctsrf(:, is_lic) = 0. |
WHERE (zmasq < EPSFRA) pctsrf(:, is_lic) = 0. |
272 |
pctsrf(:, is_ter) = zmasq |
where (zmasq <= EPSFRA) pctsrf(:, is_ter) = zmasq |
273 |
where (zmasq > EPSFRA) |
where (zmasq > EPSFRA) |
274 |
where (pctsrf(:, is_lic) >= zmasq) |
where (pctsrf(:, is_lic) >= zmasq) |
275 |
pctsrf(:, is_lic) = zmasq |
pctsrf(:, is_lic) = zmasq |
336 |
|
|
337 |
nday = 0 |
nday = 0 |
338 |
itau_phy = 0 ! side effect |
itau_phy = 0 ! side effect |
339 |
call phyredem0(lmt_pas = day_step / iphysiq) |
call phyredem0 |
340 |
|
|
341 |
call nf95_inq_varid(ncid_restartphy, "trs", varid) |
call nf95_inq_varid(ncid_restartphy, "trs", varid) |
342 |
call nf95_put_var(ncid_restartphy, varid, null_array) |
call nf95_put_var(ncid_restartphy, varid, null_array) |