Ignore:
Timestamp:
May 15, 2024, 10:05:02 AM (7 months ago)
Author:
emillour
Message:

Titan PCM:
Some corrections to make start2archve and newstart work.
LR+EM

Location:
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/defrun_new.F

    r2366 r3326  
    4040      use sponge_mod,only: callsponge,nsponge,mode_sponge,tetasponge
    4141      use control_mod,only: nday, day_step, iperiod, anneeref,
    42      &                      iconser, dissip_period, iphysiq
     42     &                      iconser, dissip_period, iphysiq, timestart
    4343      USE logic_mod, ONLY: hybrid,purmats,fxyhypb,ysinus,iflag_phys
    4444      USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy,
     
    104104        WRITE(lunout,*) "DEFRUN_NEW: reading file run.def"
    105105       
     106        timestart=-9999 ! default value; if <0, use last stored time
     107        call getin("timestart",timestart)
     108
    106109        WRITE(lunout,*) ""
    107110        WRITE(lunout,*) "Number of days to run:"
  • trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/newstart.F

    r3314 r3326  
    3333     .                        rad,omeg,g,r,pi
    3434      USE serre_mod, ONLY: alphax
    35       USE temps_mod, ONLY: day_ini
     35      USE temps_mod, ONLY: day_ini,start_time
    3636      USE ener_mod, ONLY: etot0,ptot0,ztot0,stot0,ang0
    3737      use tabfi_mod, only: tabfi
     
    372372      ! with Earth-like Titan start files ( cf dynetat0 from common )
    373373
    374       kappa = tab_cntrl(10)
     374      kappa = tab_cntrl(10)
     375      daysec = tab_cntrl(11)
     376      dtvr = tab_cntrl(12)
    375377      etot0 = tab_cntrl(13)
    376378      ptot0 = tab_cntrl(14)
     
    400402        read(*,*) pa
    401403      endif
     404     
     405      ! start_time needs to be initialized
     406      start_time = tab_cntrl(32)
     407     
    402408c-----------------------------------------------------------------------
    403409c   Lecture du tab_cntrl et initialisation des constantes physiques
Note: See TracChangeset for help on using the changeset viewer.