Changeset 3605 for LMDZ6/branches/Ocean_skin/libf/dyn3d
- Timestamp:
- Nov 21, 2019, 4:43:45 PM (6 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
-
LMDZ6/branches/Ocean_skin/libf/dyn3d/conf_gcm.F90
r2665 r3605 21 21 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 22 22 alphax,alphay,taux,tauy 23 USE temps_mod, ONLY: calend 23 USE temps_mod, ONLY: calend, year_len 24 24 25 25 IMPLICIT NONE … … 115 115 calend = 'earth_360d' 116 116 CALL getin('calend', calend) 117 ! initialize year_len for aquaplanets and 1D 118 if (calend == 'earth_360d') then 119 year_len=360 120 else if (calend == 'earth_365d') then 121 year_len=365 122 else if (calend == 'earth_366d') then 123 year_len=366 124 else 125 year_len=1 126 endif 117 127 118 128 !Config Key = dayref -
LMDZ6/branches/Ocean_skin/libf/dyn3d/gcm.F90
r2622 r3605 241 241 'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT' 242 242 if (.not.read_start) then 243 start_time=0. 244 annee_ref=anneeref 243 245 CALL iniacademic(vcov,ucov,teta,q,masse,ps,phis,time_0) 244 246 endif … … 377 379 tetagdiv, tetagrot , tetatemp, vert_prof_dissip) 378 380 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 394 300 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 401 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) 402 302 FORMAT('1'/,15x,' au ', i2,'/',i2,'/',i4) 403 #endif 404 379 405 !----------------------------------------------------------------------- 380 406 ! Initialisation de la physique : … … 391 417 #endif 392 418 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 419 418 420 ! if (planet_type.eq."earth") then -
LMDZ6/branches/Ocean_skin/libf/dyn3d/temps_mod.F90
r2601 r3605 13 13 INTEGER annee_ref 14 14 INTEGER day_ref 15 INTEGER year_len 15 16 REAL dt ! (dynamics) time step (changes if doing Matsuno or LF step) 16 17 REAL jD_ref ! reference julian day date (beginning of experiment)
Note: See TracChangeset
for help on using the changeset viewer.