Changeset 2240


Ignore:
Timestamp:
Feb 10, 2020, 3:04:12 PM (5 years ago)
Author:
cmathe
Message:

GCM MARS: Initialization of mu0_int and ztim1 in nirco2abs.F to prevent crash during debug mode simulations.

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2238 r2240  
    28582858== 04/02/2020 == AB
    28592859Small improvements in simu_MCS_temp.F90 : 1) The binning method is now more consistent with the MCS file ; 2) stats files are more rigorously recognized.
     2860
     2861== 10/02/2020 == CM
     2862Initialization of mu0_int and ztim1 in 'nirco2abs.F' to prevent crash during debug mode simulations.
  • trunk/LMDZ.MARS/libf/phymars/nirco2abs.F

    r1779 r2240  
    183183
    184184         nstep = 20   ! number of integration step /sol
     185         mu0_int(1:ngrid) = 0.
     186         ztim1 = 0.
    185187         do n=1,nstep
    186188            zday_int = (n-1)/float(nstep)
     
    190192     s             ztim1,ztim2,ztim3,
    191193     s             mu0_int,fract_int)
    192             do ig=1,ngrid
     194            do ig=1,ngrid               
    193195               zmu(ig)=sqrt(1224.*mu0_int(ig)*mu0_int(ig)+1.)/35.
    194196
Note: See TracChangeset for help on using the changeset viewer.