Ignore:
Timestamp:
Nov 21, 2019, 4:43:45 PM (4 years ago)
Author:
lguez
Message:

Merge revisions 3427:3600 of trunk into branch Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/libf/dyn3d/gcm.F90

    r2622 r3605  
    241241       'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT'
    242242  if (.not.read_start) then
     243     start_time=0.
     244     annee_ref=anneeref
    243245     CALL iniacademic(vcov,ucov,teta,q,masse,ps,phis,time_0)
    244246  endif
     
    377379       tetagdiv, tetagrot , tetatemp, vert_prof_dissip)
    378380
     381  !  numero de stockage pour les fichiers de redemarrage:
     382
     383  !-----------------------------------------------------------------------
     384  !   Initialisation des I/O :
     385  !   ------------------------
     386
     387
     388  if (nday>=0) then
     389     day_end = day_ini + nday
     390  else
     391     day_end = day_ini - nday/day_step
     392  endif
     393  WRITE(lunout,300)day_ini,day_end
     394300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)
     395
     396#ifdef CPP_IOIPSL
     397  call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure)
     398  write (lunout,301)jour, mois, an
     399  call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure)
     400  write (lunout,302)jour, mois, an
     401301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4)
     402302 FORMAT('1'/,15x,'    au ', i2,'/',i2,'/',i4)
     403#endif
     404
    379405  !-----------------------------------------------------------------------
    380406  !   Initialisation de la physique :
     
    391417#endif
    392418  ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100))
    393 
    394   !  numero de stockage pour les fichiers de redemarrage:
    395 
    396   !-----------------------------------------------------------------------
    397   !   Initialisation des I/O :
    398   !   ------------------------
    399 
    400 
    401   if (nday>=0) then
    402      day_end = day_ini + nday
    403   else
    404      day_end = day_ini - nday/day_step
    405   endif
    406   WRITE(lunout,300)day_ini,day_end
    407 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)
    408 
    409 #ifdef CPP_IOIPSL
    410   call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure)
    411   write (lunout,301)jour, mois, an
    412   call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure)
    413   write (lunout,302)jour, mois, an
    414 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4)
    415 302 FORMAT('1'/,15x,'    au ', i2,'/',i2,'/',i4)
    416 #endif
    417419
    418420  !      if (planet_type.eq."earth") then
Note: See TracChangeset for help on using the changeset viewer.