28 |
|
|
29 |
use abort_gcm_m, only: abort_gcm |
use abort_gcm_m, only: abort_gcm |
30 |
use clesphys, only: ecrit_tra |
use clesphys, only: ecrit_tra |
31 |
use clesphys2, only: iflag_con |
use clesphys2, only: conv_emanuel |
32 |
use cltrac_m, only: cltrac |
use cltrac_m, only: cltrac |
33 |
use cltracrn_m, only: cltracrn |
use cltracrn_m, only: cltracrn |
34 |
use ctherm, only: iflag_thermals |
use ctherm, only: iflag_thermals |
230 |
if (convection) then |
if (convection) then |
231 |
! Calcul de l'effet de la convection |
! Calcul de l'effet de la convection |
232 |
DO it=1, nqmx - 2 |
DO it=1, nqmx - 2 |
233 |
if (iflag_con == 2) then |
if (conv_emanuel) then |
|
! Tiedke |
|
|
CALL nflxtr(pdtphys, pmfu, pmfd, pde_u, pen_d, paprs, & |
|
|
tr_seri(:, :, it), d_tr_cv(:, :, it)) |
|
|
else if (iflag_con == 3) then |
|
|
! Emanuel |
|
234 |
call cvltr(pdtphys, da, phi, mp, paprs, tr_seri(:, :, it), upwd, & |
call cvltr(pdtphys, da, phi, mp, paprs, tr_seri(:, :, it), upwd, & |
235 |
dnwd, d_tr_cv(:, :, it)) |
dnwd, d_tr_cv(:, :, it)) |
236 |
|
else |
237 |
|
CALL nflxtr(pdtphys, pmfu, pmfd, pde_u, pen_d, paprs, & |
238 |
|
tr_seri(:, :, it), d_tr_cv(:, :, it)) |
239 |
endif |
endif |
240 |
|
|
241 |
DO k = 1, llm |
DO k = 1, llm |
408 |
|
|
409 |
! From phylmd/write_histrac.h, version 1.9 2006/02/21 08:08:30 |
! From phylmd/write_histrac.h, version 1.9 2006/02/21 08:08:30 |
410 |
|
|
|
use dimens_m, only: iim, jjm, llm |
|
|
use histsync_m, only: histsync |
|
411 |
use histwrite_m, only: histwrite |
use histwrite_m, only: histwrite |
412 |
use iniadvtrac_m, only: tname |
use iniadvtrac_m, only: tname |
|
use dimphy, only: klon |
|
|
use grid_change, only: gr_phy_write_2d |
|
413 |
use gr_phy_write_3d_m, only: gr_phy_write_3d |
use gr_phy_write_3d_m, only: gr_phy_write_3d |
414 |
|
|
415 |
logical, intent(in):: lessivage |
logical, intent(in):: lessivage |