Ignore:
Timestamp:
May 6, 2010, 2:24:59 PM (14 years ago)
Author:
Ehouarn Millour
Message:

Minor bug fix: Enable the possiblity to start a Shallow Water run from a start.nc file.

Plus some cleanup in outputs messages (in dyetat0,dynredem and iniconst).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/gcm.F

    r1357 r1380  
    248248          CALL iniacademic(vcov,ucov,teta,q,masse,ps,phis,time_0)
    249249        endif
    250 !#ifdef CPP_IOIPSL
     250
    251251        if (planet_type.eq."earth") then
    252252#ifdef CPP_EARTH
    253253! Load an Earth-format start file
    254254         CALL dynetat0("start.nc",vcov,ucov,
    255      .              teta,q,masse,ps,phis, time_0)
    256 #endif
     255     &              teta,q,masse,ps,phis, time_0)
     256#endif
     257        ! SW model also has Earth-format start files
     258        ! (but can be used without the CPP_EARTH directive)
     259          if (iflag_phys.eq.0) then
     260            CALL dynetat0("start.nc",vcov,ucov,
     261     &              teta,q,masse,ps,phis, time_0)
     262          endif
     263       
    257264        endif ! of if (planet_type.eq."earth")
     265       
    258266c       write(73,*) 'ucov',ucov
    259267c       write(74,*) 'vcov',vcov
Note: See TracChangeset for help on using the changeset viewer.