Ignore:
Timestamp:
Aug 30, 2016, 9:04:28 AM (8 years ago)
Author:
emillour
Message:

Generic GCM:
Fix newstart which was broken due to recent updates of the physics/dynamics interface.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/newstart.F

    r1543 r1589  
    204204     
    205205! get value of nsoilmx and allocate corresponding arrays
    206       nsoilmx=18 ! default value
     206      ! a default value of nsoilmx is set in comsoil_h
    207207      call getin_p("nsoilmx",nsoilmx)
    208208     
     
    333333        enddo
    334334       
    335         ! Lmodif set to 0 to disable modifications possibility in phyeta0                           
    336335        write(*,*) 'Reading file START'
    337336        fichnom = 'start.nc'
     
    339338     .       ps,phis,time)
    340339
     340        CALL iniconst
     341        CALL inigeom
     342
     343! Initialize the physics
     344         CALL iniphysiq(iim,jjm,llm,
     345     &                  (jjm-1)*iim+2,comm_lmdz,
     346     &                  daysec,day_ini,dtphys,
     347     &                  rlatu,rlatv,rlonu,rlonv,
     348     &                  aire,cu,cv,rad,g,r,cpp,
     349     &                  1)
     350
     351        ! Lmodif set to 0 to disable modifications possibility in phyeta0                           
     352        Lmodif=0
    341353        write(*,*) 'Reading file STARTFI'
    342354        fichnom = 'startfi.nc'
     
    441453! Load parameters from run.def file
    442454      CALL defrun_new( 99, .TRUE. )
     455! Initialize dynamics geometry and co. (which, when using start.nc may
     456! have changed because of modifications (tabi, preff, pa) above)
    443457      CALL iniconst
    444458      CALL inigeom
     
    446460      idum=0
    447461
    448 ! Initialize the physics
     462! Initialize the physics for start_archive only
     463      IF (choix_1.eq.0) THEN
    449464         CALL iniphysiq(iim,jjm,llm,
    450465     &                  (jjm-1)*iim+2,comm_lmdz,
     
    453468     &                  aire,cu,cv,rad,g,r,cpp,
    454469     &                  1)
     470      ENDIF
    455471
    456472c=======================================================================
Note: See TracChangeset for help on using the changeset viewer.