503 |
REAL ue_lay(klon, llm) ! transport zonal de l'energie a chaque niveau vert. |
REAL ue_lay(klon, llm) ! transport zonal de l'energie a chaque niveau vert. |
504 |
REAL uq_lay(klon, llm) ! transport zonal de l'eau a chaque niveau vert. |
REAL uq_lay(klon, llm) ! transport zonal de l'eau a chaque niveau vert. |
505 |
|
|
|
REAL zsto |
|
506 |
real date0 |
real date0 |
507 |
|
|
508 |
! Variables li\'ees au bilan d'\'energie et d'enthalpie : |
! Variables li\'ees au bilan d'\'energie et d'enthalpie : |
1493 |
USE histsync_m, ONLY: histsync |
USE histsync_m, ONLY: histsync |
1494 |
USE histwrite_m, ONLY: histwrite |
USE histwrite_m, ONLY: histwrite |
1495 |
|
|
1496 |
real zout |
integer i, itau_w ! pas de temps ecriture |
|
integer itau_w ! pas de temps ecriture |
|
1497 |
REAL zx_tmp_2d(iim, jjm + 1), zx_tmp_3d(iim, jjm + 1, llm) |
REAL zx_tmp_2d(iim, jjm + 1), zx_tmp_3d(iim, jjm + 1, llm) |
1498 |
|
|
1499 |
!-------------------------------------------------- |
!-------------------------------------------------- |
1501 |
IF (ok_instan) THEN |
IF (ok_instan) THEN |
1502 |
! Champs 2D: |
! Champs 2D: |
1503 |
|
|
|
zsto = dtphys * ecrit_ins |
|
|
zout = dtphys * ecrit_ins |
|
1504 |
itau_w = itau_phy + itap |
itau_w = itau_phy + itap |
1505 |
|
|
|
i = NINT(zout/zsto) |
|
1506 |
CALL gr_fi_ecrit(1, klon, iim, jjm + 1, pphis, zx_tmp_2d) |
CALL gr_fi_ecrit(1, klon, iim, jjm + 1, pphis, zx_tmp_2d) |
1507 |
CALL histwrite(nid_ins, "phis", itau_w, zx_tmp_2d) |
CALL histwrite(nid_ins, "phis", itau_w, zx_tmp_2d) |
1508 |
|
|
|
i = NINT(zout/zsto) |
|
1509 |
CALL gr_fi_ecrit(1, klon, iim, jjm + 1, airephy, zx_tmp_2d) |
CALL gr_fi_ecrit(1, klon, iim, jjm + 1, airephy, zx_tmp_2d) |
1510 |
CALL histwrite(nid_ins, "aire", itau_w, zx_tmp_2d) |
CALL histwrite(nid_ins, "aire", itau_w, zx_tmp_2d) |
1511 |
|
|