Ignore:
Timestamp:
Jul 29, 2014, 11:24:27 AM (10 years ago)
Author:
lfita
Message:

Removing checks, but keeping non negative SQRT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/LMDZ_WRFmeas/WRFV3/lmdz/thermcell_plume.F90

    r115 r133  
    8989
    9090      REAL zw2fact,expa
    91 ! Lluis
    92       INTEGER                                            :: llp
    93       CHARACTER(LEN=50)                                  :: lvarname, lfname
    94       REAL                                               :: largest
    95 
    96       llp = 734
    97       lfname = 'physiq'
    98       largest = 10.e5
    99 
    10091      Zsat=.false.
    10192
     
    174165               alim_star(ig,l)=alim_star(ig,l)/alim_star_tot(ig)
    175166            endif
    176             IF (zlev(ig,l+1) < 0. .OR. alim_star_tot(ig) == 0.) THEN
    177               PRINT *,'Lluis ',ig,',',l,' negative zlev: ',zlev(ig,l+1),' null: ',alim_star_tot(ig)
    178             END IF
    179167         enddo
    180168      enddo
    181169      alim_star_tot(:)=1.
    182 
    183       lfname='thermcell_plume after computing alim_star'
    184       lvarname = 'alim_star'
    185       CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)
    186       lvarname = 'ztv'
    187       CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)
    188       lvarname = 'zlev'
    189       CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)
    190170
    191171!------------------------------------------------------------------------------
     
    212192enddo
    213193!
    214 
    215       lfname='thermcell_plume after k=2'
    216       lvarname = 'zw2'
    217       CALL check_var3D(lfname, lvarname, zw2, ngrid, klev+1, largest, .FALSE.)
    218       lvarname = 'ztv'
    219       CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)
    220       lvarname = 'zlev'
    221       CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)
    222       lvarname = 'pphi'
    223       CALL check_var3D(lfname, lvarname, pphi, ngrid, klev, largest, .FALSE.)
    224       lvarname = 'alim_star'
    225       CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)
    226       lvarname = 'entr_star'
    227       CALL check_var3D(lfname, lvarname, entr_star, ngrid, klev, largest, .FALSE.)
    228 
    229 
    230194!==============================================================================
    231195!boucle de calcul de la vitesse verticale dans le thermique
     
    356320      endif
    357321   enddo
    358   lfname='thermcell_plume calcul alim_star'
    359   lvarname = 'alim_star'
    360   CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)
    361   lvarname = 'entr_star'
    362   CALL check_var3D(lfname, lvarname, entr_star, ngrid, klev, largest, .FALSE.)
    363322
    364323!----------------------------------------------------------------------------
     
    467426      enddo
    468427!=========================================================================
    469 
    470   lfname='thermcell_plume end of vertical loop'
    471   lvarname = 'zw2'
    472   CALL check_var3D(lfname, lvarname, zw2, ngrid, klev+1, largest, .FALSE.)
    473   lvarname = 'ztv'
    474   CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)
    475   lvarname = 'zlev'
    476   CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)
    477   lvarname = 'pphi'
    478   CALL check_var3D(lfname, lvarname, pphi, ngrid, klev, largest, .FALSE.)
    479   lvarname = 'alim_star'
    480   CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)
    481 
    482428
    483429!on recalcule alim_star_tot
     
    592538      REAL fact_gamma,fact_epsilon,fact_gamma2,fact_epsilon2
    593539      REAL c2(ngrid,klev)
    594 
    595 ! Lluis
    596       INTEGER                                            :: llp
    597       CHARACTER(LEN=50)                                  :: lvarname, lfname
    598       REAL                                               :: largest
    599 
    600       llp = 734
    601       lfname = 'physiq'
    602       largest = 10.e5
    603540
    604541      Zsat=.false.
     
    675612               END IF
    676613               alim_star_tot(ig)=alim_star_tot(ig)+alim_star(ig,l)
    677             IF (zlev(ig,l+1) < 0. .OR. alim_star_tot(ig) == 0.) THEN
    678               PRINT *,'Lluis ',ig,',',l,' negative zlev: ',zlev(ig,l+1),' null: ',alim_star_tot(ig)
    679             END IF
    680614            endif
    681615         enddo
     
    689623      enddo
    690624      alim_star_tot(:)=1.
    691 
    692       lfname='thermcellV1_plume after computing alim_star'
    693       lvarname = 'alim_star'
    694       CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)
    695       lvarname = 'ztv'
    696       CALL check_var3D(lfname, lvarname, ztv, ngrid, klev, largest, .FALSE.)
    697       lvarname = 'zlev'
    698       CALL check_var3D(lfname, lvarname, zlev, ngrid, klev+1, largest, .FALSE.)
    699 
    700 
    701625!------------------------------------------------------------------------------
    702626! Calcul dans la premiere couche
     
    820744   enddo
    821745
    822 
    823       lfname='thermcellV1_plume after k=2'
    824       lvarname = 'alim_star'
    825       CALL check_var3D(lfname, lvarname, alim_star, ngrid, klev, largest, .FALSE.)
    826       lvarname = 'entr_star'
    827       CALL check_var3D(lfname, lvarname, entr_star, ngrid, klev, largest, .FALSE.)
    828       lvarname = 'detr_star'
    829       CALL check_var3D(lfname, lvarname, detr_star, ngrid, klev, largest, .FALSE.)
    830       lvarname = 'f_star'
    831       CALL check_var3D(lfname, lvarname, f_star, ngrid, klev, largest, .FALSE.)
    832 
    833746!----------------------------------------------------------------------------
    834747!calcul de la vitesse verticale en melangeant Tl et qt du thermique
Note: See TracChangeset for help on using the changeset viewer.