Ignore:
Timestamp:
Nov 1, 2016, 11:19:45 AM (8 years ago)
Author:
oboucher
Message:

Removing useless global variables
Interpolation only done once a month
Changing test orders in implicit coagulation routine as some compilers didn't like it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/StratAer/micphy_tstep.F90

    r2690 r2695  
    88  USE cond_evap_tstep_mod
    99  USE sulfate_aer_mod, ONLY : STRAACT
    10   USE YOMCST
     10  USE YOMCST, ONLY : RPI, RD, RG
    1111
    1212  IMPLICIT NONE
     
    7474    PDT=pdtphys
    7575    count_tstep=0
    76     DO while(PDT>0.0)
     76    DO WHILE (PDT>0.0)
    7777      count_tstep=count_tstep+1
    78       if( count_tstep .GT. nbtstep )  exit
     78      IF (count_tstep .GT. nbtstep)  EXIT
    7979      ! convert tr_seri(GASH2SO4) (in kg/kgA) to H2SO4 number density (in molecules/cm3)
    8080      rhoa=tr_seri(ilon,ilev,id_H2SO4_strat) &
     
    145145  ENDDO
    146146
    147   IF (MINVAL(tr_seri(:,:,:)).LT.0.0) THEN
     147  IF (MINVAL(tr_seri).LT.0.0) THEN
    148148    DO ilon=1, klon
    149149    DO ilev=1, klev   
Note: See TracChangeset for help on using the changeset viewer.