Changeset 3605 for LMDZ6/branches/Ocean_skin/libf/dyn3dmem/gcm.F90
- Timestamp:
- Nov 21, 2019, 4:43:45 PM (5 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
-
LMDZ6/branches/Ocean_skin/libf/dyn3dmem/gcm.F90
r2622 r3605 233 233 'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT' 234 234 if (.not.read_start) then 235 start_time=0. 236 annee_ref=anneeref 235 237 CALL iniacademic_loc(vcov,ucov,teta,q,masse,ps,phis,time_0) 236 238 endif … … 368 370 369 371 !----------------------------------------------------------------------- 372 ! Initialisation des I/O : 373 ! ------------------------ 374 375 376 if (nday>=0) then 377 day_end = day_ini + nday 378 else 379 day_end = day_ini - nday/day_step 380 endif 381 382 WRITE(lunout,300)day_ini,day_end 383 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 384 385 #ifdef CPP_IOIPSL 386 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 387 write (lunout,301)jour, mois, an 388 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure) 389 write (lunout,302)jour, mois, an 390 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 391 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 392 #endif 393 394 !----------------------------------------------------------------------- 370 395 ! Initialisation de la physique : 371 396 ! ------------------------------- … … 381 406 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100)) 382 407 383 384 !-----------------------------------------------------------------------385 ! Initialisation des I/O :386 ! ------------------------387 388 389 if (nday>=0) then390 day_end = day_ini + nday391 else392 day_end = day_ini - nday/day_step393 endif394 395 WRITE(lunout,300)day_ini,day_end396 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)397 398 #ifdef CPP_IOIPSL399 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure)400 write (lunout,301)jour, mois, an401 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure)402 write (lunout,302)jour, mois, an403 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4)404 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4)405 #endif406 408 407 409 ! if (planet_type.eq."earth") then
Note: See TracChangeset
for help on using the changeset viewer.