Ignore:
Timestamp:
Aug 3, 2024, 2:56:58 PM (3 months ago)
Author:
abarral
Message:

Put .h into modules

Location:
LMDZ6/branches/Amaury_dev/libf/phylmdiso
Files:
2 added
2 deleted
12 edited
4 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/add_phys_tend_mod.F90

    r5158 r5160  
    269269     debug_level=10
    270270     IF (first) THEN
    271         print *,"TestJLD rcpv, rcw, rcs",rcpv, rcw, rcs
     271        PRINT *,"TestJLD rcpv, rcw, rcs",rcpv, rcw, rcs
    272272        first=.FALSE.
    273273     endif
    274274
    275 print *,'add_phys_tend: paprs ',paprs
     275PRINT *,'add_phys_tend: paprs ',paprs
    276276! When in diagnostic mode, save initial values of out variables
    277277  IF (diag_mode == 1) THEN
     
    746746     debug_level=10
    747747     IF (first) THEN
    748         print *,"TestJLD rcpv, rcw, rcs",rcpv, rcw, rcs
     748        PRINT *,"TestJLD rcpv, rcw, rcs",rcpv, rcw, rcs
    749749        first=.FALSE.
    750750     endif
    751751
    752 print *,'add_phys_tend: paprs ',paprs
     752PRINT *,'add_phys_tend: paprs ',paprs
    753753!======================================================================
    754754! Diagnostics for energy conservation tests
     
    813813    d_ek_col(:) = (zek_col(:,2)-zek_col(:,1))/phys_tstep
    814814
    815    print *,'zdu ', zdu
    816    print *,'zdv ', zdv
    817    print *,'d_ek_col, zek_col(2), zek_col(1) ',d_ek_col(1), zek_col(1,2), zek_col(1,1)
     815   PRINT *,'zdu ', zdu
     816   PRINT *,'zdv ', zdv
     817   PRINT *,'d_ek_col, zek_col(2), zek_col(1) ',d_ek_col(1), zek_col(1,2), zek_col(1,1)
    818818
    819819    d_h_dair_col(:) = (zh_dair_col(:,2)-zh_dair_col(:,1))/phys_tstep
     
    937937bilh_ok=0
    938938
    939 !!print *,'prt_level:',prt_level,' fl_ebil:',fl_ebil,' fl_cor_ebil:',fl_cor_ebil
     939!!PRINT *,'prt_level:',prt_level,' fl_ebil:',fl_ebil,' fl_cor_ebil:',fl_cor_ebil
    940940IF ( (fl_ebil > 0) .AND. (klon == 1)) THEN
    941941  bilq_bnd = 0.
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/calwake.F90

    r5158 r5160  
    143143
    144144  IF (prt_level >= 10) THEN
    145     print *, '-> calwake, wake_s, wgen input ', wake_s(1), wgen(1)
     145    PRINT *, '-> calwake, wake_s, wgen input ', wake_s(1), wgen(1)
    146146  ENDIF
    147147
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3_enthalpmix.F90

    r5158 r5160  
    7878
    7979
    80 !!  print *,' ->cv3_vertmix, plim1,plim2 ', plim1,plim2   !jyg
     80!!  PRINT *,' ->cv3_vertmix, plim1,plim2 ', plim1,plim2   !jyg
    8181  plim2p(:) = min(plim2(:),plim1(:)-dpmin)
    8282  j1(:)=nd
     
    122122  END DO
    123123
    124 !!  print *,'cv3_vertmix, j1,j2,coef ', j1,j2,coef  !jyg
     124!!  PRINT *,'cv3_vertmix, j1,j2,coef ', j1,j2,coef  !jyg
    125125
    126126  DO j = 1, nd
     
    135135        dpw(i) = dpw(i) + wi(i, j)
    136136
    137 !!  print *,'cv3_vertmix, j, wi(1,j),dpw ', j, wi(1,j),dpw  !jyg
     137!!  PRINT *,'cv3_vertmix, j, wi(1,j),dpw ', j, wi(1,j),dpw  !jyg
    138138
    139139      END IF
     
    167167
    168168
    169 !!  print *,'cv3_vertmix, rdcp ', rdcp  !jyg
     169!!  PRINT *,'cv3_vertmix, rdcp ', rdcp  !jyg
    170170
    171171
     
    233233  END DO
    234234
    235 !!  print *,' cv3_vertmix->'  !jyg
     235!!  PRINT *,' cv3_vertmix->'  !jyg
    236236
    237237
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3_estatmix.F90

    r5158 r5160  
    8181
    8282
    83 !!  print *,' ->cv3_vertmix, plim1,plim2 ', plim1,plim2   !jyg
     83!!  PRINT *,' ->cv3_vertmix, plim1,plim2 ', plim1,plim2   !jyg
    8484  plim2p(:) = min(plim2(:),plim1(:)-dpmin)
    8585  j1(:)=nd
     
    122122  END DO
    123123
    124 !!  print *,'cv3_vertmix, j1,j2,coef ', j1,j2,coef  !jyg
     124!!  PRINT *,'cv3_vertmix, j1,j2,coef ', j1,j2,coef  !jyg
    125125
    126126  DO j = 1, nd
     
    135135        dpw(i) = dpw(i) + wi(i, j)
    136136
    137 !!  print *,'cv3_vertmix, j, wi(1,j),dpw ', j, wi(1,j),dpw  !jyg
     137!!  PRINT *,'cv3_vertmix, j, wi(1,j),dpw ', j, wi(1,j),dpw  !jyg
    138138
    139139      END IF
     
    167167
    168168
    169 !!  print *,'cv3_vertmix, rdcp ', rdcp  !jyg
     169!!  PRINT *,'cv3_vertmix, rdcp ', rdcp  !jyg
    170170
    171171  DO i = 1, len
     
    216216  END DO
    217217
    218 !!  print *,' cv3_vertmix->'  !jyg
     218!!  PRINT *,' cv3_vertmix->'  !jyg
    219219
    220220
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3_routines.F90

    r5158 r5160  
    202202  INTEGER il
    203203
    204 !    print *,'cv3_incrcount : noconv_stop ',noconv_stop
    205 !    print *,'cv3_incrcount in, sig(1,nd) ',sig(1,nd)
     204!    PRINT *,'cv3_incrcount : noconv_stop ',noconv_stop
     205!    PRINT *,'cv3_incrcount in, sig(1,nd) ',sig(1,nd)
    206206    IF(ok_convstop) THEN
    207207      DO il = 1, len
     
    215215      END DO
    216216    ENDIF  ! (ok_convstop)
    217 !    print *,'cv3_incrcount out, sig(1,nd) ',sig(1,nd)
     217!    PRINT *,'cv3_incrcount out, sig(1,nd) ',sig(1,nd)
    218218
    219219
     
    280280                 (p(i,k-1)-p(i,k))/ph(i, k)        !convect3
    281281
    282 ! c        print *,' gz(',k,')',gz(i,k),' tvx',tvx,' tvy ',tvy
     282! c        PRINT *,' gz(',k,')',gz(i,k),' tvx',tvx,' tvy ',tvy
    283283
    284284! ori         gz(i,k)=gz(i,k-1)+hrd*(tv(i,k-1)+tv(i,k))
     
    611611  ENDIF
    612612  IF (prt_level >= 10) THEN
    613     print *,'cv3_feed : iflag(1), pfeed(1), plcl(1), wghti(1,k) ', &
     613    PRINT *,'cv3_feed : iflag(1), pfeed(1), plcl(1), wghti(1,k) ', &
    614614                        iflag(1), pfeed(1), plcl(1), (wghti(1,k),k=1,10)
    615615  ENDIF
     
    15821582#endif
    15831583  IF (prt_level >= 10) THEN
    1584     print *,'cv3_undilute2.0. icvflag_Tpa, t(1,k), q(1,k), qs(1,k) ', &
     1584    PRINT *,'cv3_undilute2.0. icvflag_Tpa, t(1,k), q(1,k), qs(1,k) ', &
    15851585                        icvflag_Tpa, (k, t(1,k), q(1,k), qs(1,k), k = 1,nl)
    15861586  ENDIF
     
    17751775            ENDIF ! (tg .gt. Tx)
    17761776
    1777 !!     print *,' j, k, Um, U, Ux, aa, bb, discr, dd, ddelta ', j, k, Um, U, Ux, aa, bb, discr, dd, ddelta
    1778 !!     print *,' j, k, ah0(i), ahg, tg, qg, tp(i,k), ff ', j, k, ah0(i), ahg, tg, qg, tp(i,k), ff
     1777!!     PRINT *,' j, k, Um, U, Ux, aa, bb, discr, dd, ddelta ', j, k, Um, U, Ux, aa, bb, discr, dd, ddelta
     1778!!     PRINT *,' j, k, ah0(i), ahg, tg, qg, tp(i,k), ff ', j, k, ah0(i), ahg, tg, qg, tp(i,k), ff
    17791779          END IF ! (k>=(icbs(i)+1))
    17801780        END DO ! i = 1, ncum
     
    18391839            Tp(i,k) = tg + (ah0(i) - ahg)/ &
    18401840                    (cpd + (cl-cpd)*qta(i,k-1) + (lv(i,k)+frac(i,k)*lf(i,k))*dqgdT)
    1841 !!   print *,'undilute2 iterations k, Tp(i,k), ah0(i), ahg ', &
     1841!!   PRINT *,'undilute2 iterations k, Tp(i,k), ah0(i), ahg ', &
    18421842!!                                 k, Tp(i,k), ah0(i), ahg
    18431843          END IF ! (k>=(icbs(i)+1))
     
    22162216!   =========================================================================
    22172217  IF (prt_level >= 10) THEN
    2218     print *,'cv3_undilute2.1. tp(1,k), tvp(1,k) ', &
     2218    PRINT *,'cv3_undilute2.1. tp(1,k), tvp(1,k) ', &
    22192219                          (k, tp(1,k), tvp(1,k), k = 1,nl)
    22202220  ENDIF
     
    36963696
    36973697! ------------------------------------------------------
    3698 IF (prt_level >= 10) print *,' ->cv3_unsat, iflag(1) ', iflag(1)
     3698IF (prt_level >= 10) PRINT *,' ->cv3_unsat, iflag(1) ', iflag(1)
    36993699
    37003700smallestreal=tiny(smallestreal)
     
    41144114!    water(il,i)=revap*revap
    41154115!    prec(il,i)=revap*revap
    4116 !!        print *,' i,b6,c6,revap,evap(il,i),water(il,i),wdtrain(il) ', &
     4116!!        PRINT *,' i,b6,c6,revap,evap(il,i),water(il,i),wdtrain(il) ', &
    41174117!!                 i,b6,c6,revap,evap(il,i),water(il,i),wdtrain(il)
    41184118!!---end jyg---
     
    41394139          b6 = bfac*50.*sigd(il)*(ph(il,i)-ph(il,i+1))*sigt*afac1
    41404140          c6 = prec(il, i+1) + 0.5*bfac*wdtrain(il)
    4141 ! print *,'bfac,sigd(il),sigt,afac1 ',bfac,sigd(il),sigt,afac1
    4142 ! print *,'prec(il,i+1),wdtrain(il) ',prec(il,i+1),wdtrain(il)
    4143 ! print *,'b6,c6,b6*b6+4.*c6 ',b6,c6,b6*b6+4.*c6
     4141! PRINT *,'bfac,sigd(il),sigt,afac1 ',bfac,sigd(il),sigt,afac1
     4142! PRINT *,'prec(il,i+1),wdtrain(il) ',prec(il,i+1),wdtrain(il)
     4143! PRINT *,'b6,c6,b6*b6+4.*c6 ',b6,c6,b6*b6+4.*c6
    41444144          IF (c6>b6*b6+1.E-20) THEN
    41454145            revap = 2.*c6/(b6+sqrt(b6*b6+4.*c6))
     
    41634163!JYG---   Dans tous les cas, evaporation = [tt ce qui entre dans la couche i]
    41644164! moins [tt ce qui sort de la couche i]
    4165 ! print *, 'evap avec ice'
     4165! PRINT *, 'evap avec ice'
    41664166          evap(il, i) = (wdtrain(il)+sigd(il)*wt(il,i)*(prec(il,i+1)-prec(il,i))) / &
    41674167                        (sigd(il)*(ph(il,i)-ph(il,i+1))*100.)
     
    42274227            water(il, i) = 0.
    42284228          END IF
    4229 ! print *, 'evap sans ice'
     4229! PRINT *, 'evap sans ice'
    42304230          evap(il, i) = (wdtrain(il)+sigd(il)*wt(il,i)*(water(il,i+1)-water(il,i)))/ &
    42314231                        (sigd(il)*(ph(il,i)-ph(il,i+1))*100.)
     
    56455645!-----------------------------------------------------------
    56465646
    5647 !!   print *,'yield, i, amp1, ad', i, amp1(1), ad(1)
     5647!!   PRINT *,'yield, i, amp1, ad', i, amp1(1), ad(1)
    56485648
    56495649    DO il = 1, ncum
     
    67986798
    67996799    IF (prt_level >= 5) THEN
    6800       print *,' CV3_YIELD : alpha_qpos ',alpha_qpos(1)
     6800      PRINT *,' CV3_YIELD : alpha_qpos ',alpha_qpos(1)
    68016801    ENDIF
    68026802
     
    70227022          END IF
    70237023        END IF
    7024 ! c        print *,'cbmf',il,i,k,cbmf(il),wghti(il,k)
     7024! c        PRINT *,'cbmf',il,i,k,cbmf(il),wghti(il,k)
    70257025      END DO
    70267026    END DO
     
    70357035          dnwd(il, i) = dnwd(il, i) + dn1(il, k, i)
    70367036        END IF
    7037 ! c         print *,'upwd',il,i,k,inb(il),upwd(il,i),m(il,k),up1(il,k,i)
     7037! c         PRINT *,'upwd',il,i,k,inb(il),upwd(il,i),m(il,k),up1(il,k,i)
    70387038      END DO
    70397039    END DO
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv3p_mixing.F90

    r5158 r5160  
    278278          ELSE IF (j > i) THEN
    279279            IF (prt_level >= 10) THEN
    280               print *,'cv3p_mixing i, j, Sij given by the no-precip eq. ', i, j, Sij(il,i,j)
     280              PRINT *,'cv3p_mixing i, j, Sij given by the no-precip eq. ', i, j, Sij(il,i,j)
    281281            ENDIF
    282282          END IF ! new ! IF ((i>=icb(il)) .AND. (i<=inb(il)) .AND. (j>=(icb(il)-1)) &
     
    476476!jygdebug<
    477477    IF (prt_level >= 10) THEN
    478       print *,'cv3p_mixing i, nent(i), icb, inb ',i, nent(igout,i), icb(igout), inb(igout)
     478      PRINT *,'cv3p_mixing i, nent(i), icb, inb ',i, nent(igout,i), icb(igout), inb(igout)
    479479      IF (nent(igout,i) > 0) THEN
    480         print *,'i,(j,Sij(i,j),j=icb-1,inb) ',i,(j,Sij(igout,i,j),j=icb(igout)-1,inb(igout))
     480        PRINT *,'i,(j,Sij(i,j),j=icb-1,inb) ',i,(j,Sij(igout,i,j),j=icb(igout)-1,inb(igout))
    481481      ENDIF
    482482    ENDIF
     
    848848            END IF
    849849
    850 ! print *,h(il,j)-hent(il,i,j),LV(il,j)*rs(il,j)/(cpd*rrv*t(il,j)*
     850! PRINT *,h(il,j)-hent(il,i,j),LV(il,j)*rs(il,j)/(cpd*rrv*t(il,j)*
    851851! :         t(il,j))
    852852
     
    865865!IM 301008 end
    866866
    867 ! print *,'mix : i,j,hent(il,i,j),Sigij(il,i,j) ',
     867! PRINT *,'mix : i,j,hent(il,i,j),Sigij(il,i,j) ',
    868868! :               i,j,hent(il,i,j),Sigij(il,i,j)
    869869
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/cv_driver.F90

    r5158 r5160  
    491491  ! --- SET CONSTANTS AND PARAMETERS
    492492  ! -------------------------------------------------------------------
    493   ! print *, '-> cv_driver'      !jyg
     493  ! PRINT *, '-> cv_driver'      !jyg
    494494  ! -- set simulation flags:
    495495  ! (common cvflag)
     
    12271227  END IF ! ncum>0
    12281228
    1229   ! print *, 'fin cv_driver ->'      !jyg
     1229  ! PRINT *, 'fin cv_driver ->'      !jyg
    12301230
    12311231END SUBROUTINE cv_driver
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/cva_driver.F90

    r5158 r5160  
    666666
    667667
    668 ! print *, 't1, t1_wake ',(k,t1(1,k),t1_wake(1,k),k=1,nd)
    669 ! print *, 'q1, q1_wake ',(k,q1(1,k),q1_wake(1,k),k=1,nd)
     668! PRINT *, 't1, t1_wake ',(k,t1(1,k),t1_wake(1,k),k=1,nd)
     669! PRINT *, 'q1, q1_wake ',(k,q1(1,k),q1_wake(1,k),k=1,nd)
    670670
    671671! -------------------------------------------------------------------
     
    912912  END IF
    913913
    914 ! print *, 'cv3_feed-> iflag1, plcl1 ',iflag1(1),plcl1(1)
     914! PRINT *, 'cv3_feed-> iflag1, plcl1 ',iflag1(1),plcl1(1)
    915915
    916916! --------------------------------------------------------------------
     
    10131013! -------------------------------------------------------------------
    10141014
    1015 ! print *,' avant triggering, iflag_con ',iflag_con
     1015! PRINT *,' avant triggering, iflag_con ',iflag_con
    10161016
    10171017  IF (iflag_con==3) THEN
     
    13441344    END IF
    13451345
    1346 ! print *,'cv_closure-> cape ',cape(1)
     1346! PRINT *,'cv_closure-> cape ',cape(1)
    13471347
    13481348! -------------------------------------------------------------------
     
    15591559#endif   
    15601560
    1561 ! print *,'cv_unsat-> mp ',mp
    1562 ! print *,'cv_unsat-> water ',water
     1561! PRINT *,'cv_unsat-> mp ',mp
     1562! PRINT *,'cv_unsat-> water ',water
    15631563! -------------------------------------------------------------------
    15641564! --- YIELD
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_concvl.F90

    r5159 r5160  
    500500#endif
    501501
    502 ! print *, '-> cv_driver'      !jyg
     502! PRINT *, '-> cv_driver'      !jyg
    503503    CALL cv_driver(klon, klev, klevp1, ntra, iflag_con, &
    504504                   t, q, qs, u, v, tra, &
     
    524524#endif
    525525                    )
    526 !           print *, 'cv_driver ->'      !jyg
     526!           PRINT *, 'cv_driver ->'      !jyg
    527527
    528528#ifdef ISO
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_ini_undefstd.f90

    r5159 r5160  
    1 link ../phylmd/ini_undefSTD.F90
     1link ../phylmd/lmdz_ini_undefstd.f90
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_moy_undefstd.f90

    r5159 r5160  
    1 link ../phylmd/moy_undefSTD.F90
     1link ../phylmd/lmdz_moy_undefstd.f90
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_plevel_new.f90

    r5159 r5160  
    1 link ../phylmd/plevel_new.F90
     1link ../phylmd/lmdz_plevel_new.f90
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_wake.F90

    r5158 r5160  
    10961096
    10971097    DO i = 1, klon
    1098       ! c       print *,' isubstep,wk_adv(i),cstar(i),wape(i) ',
     1098      ! c       PRINT *,' isubstep,wk_adv(i),cstar(i),wape(i) ',
    10991099      ! c     $           isubstep,wk_adv(i),cstar(i),wape(i)
    11001100      IF (wk_adv(i) .AND. cstar(i)>0.01) THEN
     
    11761176
    11771177      IF (prt_level >= 10) THEN
    1178         print *,'wake, cstar(1), cstar(1)/cstart, rad_wk(1), tau_wk_inv(1), drdt(1) ', &
     1178        PRINT *,'wake, cstar(1), cstar(1)/cstart, rad_wk(1), tau_wk_inv(1), drdt(1) ', &
    11791179                       cstar(1), cstar(1)/cstart, rad_wk(1), tau_wk_inv(1), drdt(1)
    1180         print *,'wake, wdens(1), awdens(1), act(1), d_awdens(1) ', &
     1180        PRINT *,'wake, wdens(1), awdens(1), act(1), d_awdens(1) ', &
    11811181                       wdens(1), awdens(1), act(1), d_awdens(1)
    1182         print *,'wake, wgen, -(wdens-awdens)*tau_wk_inv, -2.*wdens*gfl*drdt_pos, d_wdens ', &
     1182        PRINT *,'wake, wgen, -(wdens-awdens)*tau_wk_inv, -2.*wdens*gfl*drdt_pos, d_wdens ', &
    11831183                       wgen(1), -(wdens(1)-awdens(1))*tau_wk_inv(1), -2.*wdens(1)*gfl(1)*drdt_pos, d_wdens(1)
    1184         print *,'wake, d_sig_gen(1), d_sig_death(1), d_sig_col(1), d_sigmaw(1) ', &
     1184        PRINT *,'wake, d_sig_gen(1), d_sig_death(1), d_sig_col(1), d_sigmaw(1) ', &
    11851185                       d_sig_gen(1), d_sig_death(1), d_sig_col(1), d_sigmaw(1)
    11861186      ENDIF
     
    13191319      END DO
    13201320    END DO
    1321 !!    print *,'omg(igout,k) ', (k,omg(igout,k),k=1,klev)
     1321!!    PRINT *,'omg(igout,k) ', (k,omg(igout,k),k=1,klev)
    13221322    ! cc nrlmd
    13231323    ! c      DO i=1,klon
     
    23272327    DO i = 1, klon
    23282328      IF (ok_qx_qw(i)) THEN
    2329         !! print *,'wake, hw0(i), dthmin(i) ', hw0(i), dthmin(i)
    2330         !! print *,'wake, 2.*sum_dth(i)/(hw0(i)*dthmin(i)) ', &
     2329        !! PRINT *,'wake, hw0(i), dthmin(i) ', hw0(i), dthmin(i)
     2330        !! PRINT *,'wake, 2.*sum_dth(i)/(hw0(i)*dthmin(i)) ', &
    23312331        !!                2.*sum_dth(i)/(hw0(i)*dthmin(i))
    2332         !! print *,'wake, sum_half_dth(i), sum_dth(i) ', &
     2332        !! PRINT *,'wake, sum_half_dth(i), sum_dth(i) ', &
    23332333        !!                sum_half_dth(i), sum_dth(i)
    23342334        IF ((hw0(i) < 1.) .OR. (dthmin(i) >= -delta_t_min) ) THEN
    23352335          wape2(i) = -1.
    2336           !! print *,'wake, rej 1'
     2336          !! PRINT *,'wake, rej 1'
    23372337        ELSE IF (iflag_wk_check_trgl==1.AND.abs(2.*sum_dth(i)/(hw0(i)*dthmin(i)) - 1.) > 0.5) THEN
    23382338          wape2(i) = -1.
    2339           !! print *,'wake, rej 2'
     2339          !! PRINT *,'wake, rej 2'
    23402340        ELSE IF (abs(sum_half_dth(i)) < 0.5*abs(sum_dth(i)) ) THEN
    23412341          wape2(i) = -1.
    2342           !! print *,'wake, rej 3'
     2342          !! PRINT *,'wake, rej 3'
    23432343        END IF
    23442344      END IF
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/physiq_mod.F90

    r5158 r5160  
    9393    USE phys_output_var_mod, ONLY:      cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv
    9494    USE phys_output_var_mod, ONLY: cloud_cover_sw, cloud_cover_sw_s2
     95    USE lmdz_plevel_new, ONLY: plevel_new
     96    USE lmdz_moy_undefstd, ONLY: moy_undefstd
     97    USE lmdz_undefstd, ONLY: undefstd
     98    USE lmdz_ini_undefstd, ONLY: ini_undefstd
    9599
    96100    USE lmdz_geometry,      ONLY: longitude, latitude, boundslon, boundslat, ind_cell_glo
     
    106110    USE paramLMDZ_phy_mod
    107111
    108         USE phytracr_spl_mod, ONLY: phytracr_spl, phytracr_spl_out_init
     112    USE lmdz_phytracr_spl, ONLY: phytracr_spl, phytracr_spl_out_init
    109113    USE phys_output_write_spl_mod
    110114    USE phytrac_mod, ONLY: phytrac_init, phytrac
     
    428432
    429433    USE lmdz_yomcst
     434    USE lmdz_phys_constants, ONLY: dobson_u
    430435
    431436    IMPLICIT NONE
     
    902907    REAL zmasse(klon, nbp_lev),exner(klon, nbp_lev)
    903908    !     (column-density of mass of air in a cell, in kg m-2)
    904     REAL, parameter:: dobson_u = 2.1415e-05 ! Dobson unit, in kg m-2
    905909
    906910    !IM sorties
     
    925929    EXTERNAL suphel    ! initialiser certaines constantes
    926930    EXTERNAL transp    ! transport total de l'eau et de l'energie
    927     !IM
     931
    928932    EXTERNAL haut2bas  !variables de haut en bas
    929     EXTERNAL ini_undefSTD  !initialise a 0 une variable a 1 niveau de pression
    930     EXTERNAL undefSTD !somme les valeurs definies d'1 var a 1 niveau de pression
    931     !     EXTERNAL moy_undefSTD  !moyenne d'1 var a 1 niveau de pression
    932933    ! EXTERNAL moyglo_aire
    933934    ! moyenne globale d'1 var ponderee par l'aire de la maille (moyglo_pondaire)
     
    16551656    ENDIF
    16561657
    1657     IF (prt_level>=1) print *,'CONVERGENCE PHYSIQUE THERM 1 '
     1658    IF (prt_level>=1) PRINT *,'CONVERGENCE PHYSIQUE THERM 1 '
    16581659
    16591660    !======================================================================
     
    18041805       IF (nbapp_cv == 0) nbapp_cv=86400./phys_tstep
    18051806       IF (nbapp_wk == 0) nbapp_wk=86400./phys_tstep
    1806        print *,'physiq, nbapp_cv, nbapp_wk ',nbapp_cv,nbapp_wk
     1807       PRINT *,'physiq, nbapp_cv, nbapp_wk ',nbapp_cv,nbapp_wk
    18071808       IF (MOD(NINT(86400./phys_tstep),nbapp_cv)==0) THEN
    18081809          cvpas_0 = NINT( 86400./phys_tstep)/nbapp_cv
    18091810          cvpas = cvpas_0
    1810        print *,'physiq, cvpas ',cvpas
     1811       PRINT *,'physiq, cvpas ',cvpas
    18111812       ELSE
    18121813          WRITE(lunout,*) 'le nombre de pas de temps physique doit etre un ', &
     
    18201821       IF (MOD(NINT(86400./phys_tstep),nbapp_wk)==0) THEN
    18211822          wkpas = NINT( 86400./phys_tstep)/nbapp_wk
    1822 !       print *,'physiq, wkpas ',wkpas
     1823!       PRINT *,'physiq, wkpas ',wkpas
    18231824       ELSE
    18241825          WRITE(lunout,*) 'le nombre de pas de temps physique doit etre un ', &
     
    32143215!!jyg       IF (prt_level .ge. 2 .AND. mod(iflag_pbl_split,2) .EQ. 1) THEN
    32153216       IF (prt_level >= 2 .AND. mod(iflag_pbl_split,10) >= 1) THEN
    3216           print *,'debut du splitting de la PBL, wake_s = ', wake_s(:)
    3217           print *,'debut du splitting de la PBL, wake_deltat = ', wake_deltat(:,1)
    3218           print *,'debut du splitting de la PBL, wake_deltaq = ', wake_deltaq(:,1)
     3217          PRINT *,'debut du splitting de la PBL, wake_s = ', wake_s(:)
     3218          PRINT *,'debut du splitting de la PBL, wake_deltat = ', wake_deltat(:,1)
     3219          PRINT *,'debut du splitting de la PBL, wake_deltaq = ', wake_deltaq(:,1)
    32193220       ENDIF
    32203221       ! !!
     
    35743575
    35753576!!jyg    IF (MOD(itapcv,cvpas).EQ.0) THEN
    3576 !!    print *,' physiq : itapcv, cvpas, itap-1, cvpas_0 ', &
     3577!!    PRINT *,' physiq : itapcv, cvpas, itap-1, cvpas_0 ', &
    35773578!!                       itapcv, cvpas, itap-1, cvpas_0
    35783579    IF (MOD(itapcv,cvpas)==0 .OR. MOD(itap-1,cvpas_0)==0) THEN
     
    38053806       !>jyg
    38063807
    3807 !!      print *,'physiq. q_w(1,k), q_x(1,k) ', &
     3808!!      PRINT *,'physiq. q_w(1,k), q_x(1,k) ', &
    38083809!!             (k, q_w(1,k), q_x(1,k),k=1,25)
    38093810
     
    40254026                   abs(d_q_con(i,k)) > dqcon_multistep_max) THEN
    40264027                 cvpas = 1
    4027 !!                 print *,'physiq1, i,k,d_t_con(i,k),d_q_con(i,k) ', &
     4028!!                 PRINT *,'physiq1, i,k,d_t_con(i,k),d_q_con(i,k) ', &
    40284029!!                                   i,k,d_t_con(i,k),d_q_con(i,k)
    40294030               ENDIF
     
    41774178    ENDIF
    41784179    IF (mod(itap,1000) == 0) THEN
    4179       print *,' physiq, nombre de steps ou cvpas = 1 : ', Ncvpaseq1
     4180      PRINT *,' physiq, nombre de steps ou cvpas = 1 : ', Ncvpaseq1
    41804181    ENDIF
    41814182
     
    44514452
    44524453       IF (prt_level >= 10) THEN
    4453          print *,' physiq, after calwake, wake_s: ',wake_s(:)
    4454          print *,' physiq, after calwake, wake_deltat: ',wake_deltat(:,1)
    4455          print *,' physiq, after calwake, wake_deltaq: ',wake_deltaq(:,1)
     4454         PRINT *,' physiq, after calwake, wake_s: ',wake_s(:)
     4455         PRINT *,' physiq, after calwake, wake_deltat: ',wake_deltat(:,1)
     4456         PRINT *,' physiq, after calwake, wake_deltaq: ',wake_deltaq(:,1)
    44564457       ENDIF
    44574458
     
    49334934    !-------------------------------------------------------------------------
    49344935    IF (prt_level >=10) THEN
    4935        print *,'itap, ->fisrtilp ',itap
     4936       PRINT *,'itap, ->fisrtilp ',itap
    49364937    ENDIF
    49374938
     
    59325933
    59335934          IF (prt_level >=10) THEN
    5934              print *,' ->radlwsw, number 1 '
     5935             PRINT *,' ->radlwsw, number 1 '
    59355936          ENDIF
    59365937
     
    60116012
    60126013                IF (prt_level >=10) THEN
    6013                    print *,' ->radlwsw, number 2 '
     6014                   PRINT *,' ->radlwsw, number 2 '
    60146015                ENDIF
    60156016
     
    61956196
    61966197    IF (prt_level >=10) THEN
    6197        print *,' CALL orography ? ', ok_orodr
     6198       PRINT *,' CALL orography ? ', ok_orodr
    61986199    ENDIF
    61996200
     
    64476448       flh2o=1
    64486449       IF(flag_verbose_strataer) THEN
    6449           print *,'IN physiq_mod: ok_qemiss =yes (',ok_qemiss,'), flh2o=',flh2o
    6450           print *,'IN physiq_mod: flag_emit=',flag_emit,', nErupt=',nErupt
    6451           print *,'IN physiq_mod: nAerErupt=',nAerErupt
     6450          PRINT *,'IN physiq_mod: ok_qemiss =yes (',ok_qemiss,'), flh2o=',flh2o
     6451          PRINT *,'IN physiq_mod: flag_emit=',flag_emit,', nErupt=',nErupt
     6452          PRINT *,'IN physiq_mod: nAerErupt=',nAerErupt
    64526453       ENDIF
    64536454       
     
    64606461                  day_cur<(day_emit_vol(ieru)+injdur)) THEN
    64616462               
    6462                 IF(flag_verbose_strataer) print *,'IN physiq_mod: date=',year_cur,mth_cur,day_cur
     6463                IF(flag_verbose_strataer) PRINT *,'IN physiq_mod: date=',year_cur,mth_cur,day_cur
    64636464                ! initialisation of q tendency emission
    64646465                d_q_emiss(:,:)=0.
     
    64756476                    nAerErupt+1,0)
    64766477               
    6477                 IF(flag_verbose_strataer) print *,'IN physiq_mod: min max d_q_emiss=',&
     6478                IF(flag_verbose_strataer) PRINT *,'IN physiq_mod: min max d_q_emiss=',&
    64786479                     minval(d_q_emiss),maxval(d_q_emiss)
    64796480               
     
    70577058
    70587059    IF (prt_level >=10) THEN
    7059        print *,'Convertir les incrementations en tendances '
     7060       PRINT *,'Convertir les incrementations en tendances '
    70607061    ENDIF
    70617062
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/reevap.F90

    r5153 r5160  
    4141    ivapcur= iqWIsoPha(ixt,ivap)
    4242    isolcur= iqWIsoPha(ixt,isol)
    43 !print *,'rrevap ; fl_cor_ebil:',fl_cor_ebil,' iflag_ice_thermo:',iflag_ice_thermo,' RVTMP2',RVTMP2
     43!PRINT *,'rrevap ; fl_cor_ebil:',fl_cor_ebil,' iflag_ice_thermo:',iflag_ice_thermo,' RVTMP2',RVTMP2
    4444    DO k = 1, klev  ! re-evaporation de l'eau liquide nuageuse
    4545       DO i = 1, klon
Note: See TracChangeset for help on using the changeset viewer.