Changeset 648 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
May 4, 2012, 10:24:20 AM (13 years ago)
Author:
emillour
Message:

Mars GCM:

  • some syntax corrections in thermcall_main_mars, vdif_cd, pbl_parameters which cause problems when compiling with some strict compilers (g95, gfortran)
  • added an initialisation of 'varian' in initracer for cases when using conrath dust; because that value can be is used elsewhere (e.g. surfacearea)

JYC+EM

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
4 edited

Legend:

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

    r635 r648  
    440440      else
    441441
     442       ! initialize varian, which may be used (e.g. by surfacearea)
     443       ! even with conrath dust
     444       nueff_lift = 0.5
     445       varian=sqrt(log(1.+nueff_lift))
     446
    442447       if (dustbin.gt.1) then
    443448        print*,'initracer: STOP!',
  • trunk/LMDZ.MARS/libf/phymars/pbl_parameters.F

    r636 r648  
    149149!       zu2(ig)=MAX(pu(ig,1)*pu(ig,1)+pv(ig,1)*pv(ig,1)
    150150!     &                                ,(0.3*wstar_in(ig))**2)
    151        zu2(ig)=pu(ig,1)*pu(ig,1)+pv(ig,1)*pv(ig,1)+
     151       zu2(ig)=pu(ig,1)*pu(ig,1)+pv(ig,1)*pv(ig,1)
    152152     &     + (log(1.+0.7*wstar_in(ig) + 2.3*wstar_in(ig)**2))**2
    153153
  • trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90

    r628 r648  
    12411241
    12421242      if (1 .eq. 0) then
    1243       call thermcell_dqup(ngridmx,nlayermx,ptimestep     &
    1244      &     ,fm,entr,  &
    1245      &    masse,ztv,zdthladj)
     1243!      call thermcell_dqup(ngridmx,nlayermx,ptimestep     &
     1244!     &     ,fm,entr,  &
     1245!     &    masse,ztv,zdthladj)
    12461246      else
    12471247
  • trunk/LMDZ.MARS/libf/phymars/vdif_cd.F

    r636 r648  
    150150!         zu2(ig)=MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),             &
    151151!     &      (0.3*wstar(ig))**2)
    152           zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) +
     152          zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)
    153153     &     + (log(1.+0.7*wstar(ig) + 2.3*wstar(ig)**2))**2
    154154
Note: See TracChangeset for help on using the changeset viewer.