Ignore:
Timestamp:
Sep 5, 2019, 3:33:16 PM (5 years ago)
Author:
aslmd
Message:

changed old functions dexp dlog in generic exp and log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/improvedclouds_mod.F

    r1996 r2151  
    157157!        vrat_cld = log(rmax_cld/rmin_cld) / float(nbin_cld-1) *3.
    158158!        vrat_cld = exp(vrat_cld)
    159         vrat_cld = dlog(rmax_cld/rmin_cld) / float(nbin_cld-1) *3.
    160         vrat_cld = dexp(vrat_cld)
     159        vrat_cld = log(rmax_cld/rmin_cld) / float(nbin_cld-1) *3.
     160        vrat_cld = exp(vrat_cld)
    161161        write(*,*) "vrat_cld", vrat_cld
    162162
     
    192192        do i=1,nbin_cld+1
    193193!           rb_cld(i) = log(rb_cld(i)) 
    194             rb_cld(i) = dlog(rb_cld(i))  !! we save that so that it is not computed
     194            rb_cld(i) = log(rb_cld(i))  !! we save that so that it is not computed
    195195                                         !! at each timestep and gridpoint
    196196        enddo
     
    278278        No = zq(ig,l,igcm_dust_number)* tauscaling(ig) + 1.e-30
    279279        Rn = rdust(ig,l)
    280         Rn = -dlog(Rn)
     280        Rn = -log(Rn)
    281281        Rm = Rn - 3. * sigma_ice*sigma_ice 
    282282        n_derf = derf( (rb_cld(1)+Rn) *dev2)
Note: See TracChangeset for help on using the changeset viewer.