- Timestamp:
- Jan 12, 2022, 10:54:09 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/Dust/phys_output_write_spl_mod.F90
r3805 r4056 381 381 USE pbl_surface_mod, ONLY: snow 382 382 USE indice_sol_mod, ONLY: nbsrf 383 USE infotrac, ONLY: nqtot, n qo, nbtr, type_trac383 USE infotrac, ONLY: nqtot, nbtr, type_trac 384 384 USE geometry_mod, ONLY: cell_area 385 385 USE surface_data, ONLY: type_ocean, version_ocean, ok_veget, landice_opt … … 430 430 INTEGER, PARAMETER :: jjmp1=jjm+1-1/jjm 431 431 INTEGER :: itau_w 432 INTEGER :: i, iinit, iinitend=1, iff, iq, nsrf, k, ll, naero432 INTEGER :: i, iinit, iinitend=1, iff, iq, itr, nsrf, k, ll, naero 433 433 REAL, DIMENSION (klon) :: zx_tmp_fi2d 434 434 REAL, DIMENSION (klon,klev) :: zx_tmp_fi3d, zpt_conv … … 1610 1610 #endif 1611 1611 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1612 IF (nqtot.GE.nqo+1) THEN 1613 !AS: type_trac = 'lmdz' par defaut dans libf/dyn3d/conf_gcm.F90 1614 !Changé par inca, repr(obus), coag(ulation), co2i(nteractif), PAS par SPLA 1615 !Cet "if" est donc inutile : IF (type_trac == 'lmdz' .OR. type_trac == 'repr') THEN 1616 DO iq=nqo+1,nqtot 1617 CALL histwrite_phy(o_trac(iq-nqo), tr_seri(:,:,iq-nqo)) 1618 CALL histwrite_phy(o_dtr_vdf(iq-nqo),d_tr_cl(:,:,iq-nqo)) 1619 CALL histwrite_phy(o_dtr_the(iq-nqo),d_tr_th(:,:,iq-nqo)) 1620 CALL histwrite_phy(o_dtr_con(iq-nqo),d_tr_cv(:,:,iq-nqo)) 1621 CALL histwrite_phy(o_dtr_lessi_impa(iq-nqo),d_tr_lessi_impa(:,:,iq-nqo)) 1622 CALL histwrite_phy(o_dtr_lessi_nucl(iq-nqo),d_tr_lessi_nucl(:,:,iq-nqo)) 1623 CALL histwrite_phy(o_dtr_insc(iq-nqo),d_tr_insc(:,:,iq-nqo)) 1624 CALL histwrite_phy(o_dtr_bcscav(iq-nqo),d_tr_bcscav(:,:,iq-nqo)) 1625 CALL histwrite_phy(o_dtr_evapls(iq-nqo),d_tr_evapls(:,:,iq-nqo)) 1626 CALL histwrite_phy(o_dtr_ls(iq-nqo),d_tr_ls(:,:,iq-nqo)) 1627 ! CALL histwrite_phy(o_dtr_dyn(iq-nqo),d_tr_dyn(:,:,iq-nqo)) 1628 ! CALL histwrite_phy(o_dtr_cl(iq-nqo),d_tr_cl(:,:,iq-nqo)) 1629 CALL histwrite_phy(o_dtr_trsp(iq-nqo),d_tr_trsp(:,:,iq-nqo)) 1630 CALL histwrite_phy(o_dtr_sscav(iq-nqo),d_tr_sscav(:,:,iq-nqo)) 1631 CALL histwrite_phy(o_dtr_sat(iq-nqo),d_tr_sat(:,:,iq-nqo)) 1632 CALL histwrite_phy(o_dtr_uscav(iq-nqo),d_tr_uscav(:,:,iq-nqo)) 1612 itr = 0 1613 DO iq = 1, nqtot 1614 IF(tracers(iq)%isH2Ofamily) CYCLE 1615 itr = itr+1 1616 CALL histwrite_phy(o_trac(itr), tr_seri(:,:,itr)) 1617 CALL histwrite_phy(o_dtr_vdf(itr),d_tr_cl(:,:,itr)) 1618 CALL histwrite_phy(o_dtr_the(itr),d_tr_th(:,:,itr)) 1619 CALL histwrite_phy(o_dtr_con(itr),d_tr_cv(:,:,itr)) 1620 CALL histwrite_phy(o_dtr_lessi_impa(itr),d_tr_lessi_impa(:,:,itr)) 1621 CALL histwrite_phy(o_dtr_lessi_nucl(itr),d_tr_lessi_nucl(:,:,itr)) 1622 CALL histwrite_phy(o_dtr_insc(itr),d_tr_insc(:,:,itr)) 1623 CALL histwrite_phy(o_dtr_bcscav(itr),d_tr_bcscav(:,:,itr)) 1624 CALL histwrite_phy(o_dtr_evapls(itr),d_tr_evapls(:,:,itr)) 1625 CALL histwrite_phy(o_dtr_ls(itr),d_tr_ls(:,:,itr)) 1626 ! CALL histwrite_phy(o_dtr_dyn(itr),d_tr_dyn(:,:,itr)) 1627 ! CALL histwrite_phy(o_dtr_cl(itr),d_tr_cl(:,:,itr)) 1628 CALL histwrite_phy(o_dtr_trsp(itr),d_tr_trsp(:,:,itr)) 1629 CALL histwrite_phy(o_dtr_sscav(itr),d_tr_sscav(:,:,itr)) 1630 CALL histwrite_phy(o_dtr_sat(itr),d_tr_sat(:,:,itr)) 1631 CALL histwrite_phy(o_dtr_uscav(itr),d_tr_uscav(:,:,itr)) 1633 1632 zx_tmp_fi2d=0. 1634 1633 IF (vars_defined) THEN 1635 1634 DO k=1,klev 1636 zx_tmp_fi2d(:)=zx_tmp_fi2d(:)+zmasse(:,k)*tr_seri(:,k,i q-nqo)1635 zx_tmp_fi2d(:)=zx_tmp_fi2d(:)+zmasse(:,k)*tr_seri(:,k,itr) 1637 1636 ENDDO 1638 1637 ENDIF 1639 CALL histwrite_phy(o_trac_cum(i q-nqo), zx_tmp_fi2d)1638 CALL histwrite_phy(o_trac_cum(itr), zx_tmp_fi2d) 1640 1639 ENDDO 1641 !ENDIF1642 ENDIF1643 1640 1644 1641 IF (.NOT.vars_defined) THEN
Note: See TracChangeset
for help on using the changeset viewer.