Changeset 3030 for LMDZ6/branches/DYNAMICO-conv/libf
- Timestamp:
- Oct 19, 2017, 12:18:04 PM (7 years ago)
- Location:
- LMDZ6/branches/DYNAMICO-conv/libf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/DYNAMICO-conv/libf/dyn3d/gcm.F90
r2622 r3030 241 241 'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT' 242 242 if (.not.read_start) then 243 annee_ref=anneeref 243 244 CALL iniacademic(vcov,ucov,teta,q,masse,ps,phis,time_0) 244 245 endif … … 377 378 tetagdiv, tetagrot , tetatemp, vert_prof_dissip) 378 379 380 ! numero de stockage pour les fichiers de redemarrage: 381 382 !----------------------------------------------------------------------- 383 ! Initialisation des I/O : 384 ! ------------------------ 385 386 387 if (nday>=0) then 388 day_end = day_ini + nday 389 else 390 day_end = day_ini - nday/day_step 391 endif 392 WRITE(lunout,300)day_ini,day_end 393 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 394 395 #ifdef CPP_IOIPSL 396 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 397 write (lunout,301)jour, mois, an 398 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure) 399 write (lunout,302)jour, mois, an 400 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 401 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 402 #endif 403 379 404 !----------------------------------------------------------------------- 380 405 ! Initialisation de la physique : … … 391 416 #endif 392 417 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) then402 day_end = day_ini + nday403 else404 day_end = day_ini - nday/day_step405 endif406 WRITE(lunout,300)day_ini,day_end407 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//)408 409 #ifdef CPP_IOIPSL410 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure)411 write (lunout,301)jour, mois, an412 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure)413 write (lunout,302)jour, mois, an414 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4)415 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4)416 #endif417 418 418 419 ! if (planet_type.eq."earth") then -
LMDZ6/branches/DYNAMICO-conv/libf/dyn3dmem/gcm.F90
r2622 r3030 233 233 'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT' 234 234 if (.not.read_start) then 235 annee_ref=anneeref 235 236 CALL iniacademic_loc(vcov,ucov,teta,q,masse,ps,phis,time_0) 236 237 endif … … 368 369 369 370 !----------------------------------------------------------------------- 371 ! Initialisation des I/O : 372 ! ------------------------ 373 374 375 if (nday>=0) then 376 day_end = day_ini + nday 377 else 378 day_end = day_ini - nday/day_step 379 endif 380 381 WRITE(lunout,300)day_ini,day_end 382 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 383 384 #ifdef CPP_IOIPSL 385 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 386 write (lunout,301)jour, mois, an 387 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure) 388 write (lunout,302)jour, mois, an 389 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 390 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 391 #endif 392 393 !----------------------------------------------------------------------- 370 394 ! Initialisation de la physique : 371 395 ! ------------------------------- … … 381 405 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100)) 382 406 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 407 407 408 ! if (planet_type.eq."earth") then -
LMDZ6/branches/DYNAMICO-conv/libf/dyn3dmem/iniacademic_loc.F90
r2622 r3030 101 101 time_0=0. 102 102 day_ref=1 103 annee_ref=0103 ! annee_ref=0 104 104 105 105 im = iim
Note: See TracChangeset
for help on using the changeset viewer.