Changeset 2507 for trunk/LMDZ.COMMON/libf/dyn3d
- Timestamp:
- Apr 28, 2021, 1:00:13 PM (4 years ago)
- Location:
- trunk/LMDZ.COMMON/libf/dyn3d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/gcm.F90
r2478 r2507 24 24 raz_date,anneeref,starttime,dayref, & 25 25 ok_dyn_ins,ok_dyn_ave,iecri,periodav, & 26 less1day,fractday,ndynstep,nsplit_phys 26 less1day,fractday,ndynstep,nsplit_phys,& 27 ecritstart 27 28 USE mod_const_mpi, ONLY: COMM_LMDZ 28 29 use cpdet_mod, only: ini_cpdet … … 299 300 300 301 ! 301 ! on remet le calendrier àzero si demande302 ! on remet le calendrier a zero si demande 302 303 ! 303 304 IF (start_time /= starttime) then 304 305 WRITE(lunout,*)' GCM: Attention l''heure de depart lue dans le' & 305 ,' fichier restart ne correspond pas àcelle lue dans le run.def'306 ,' fichier restart ne correspond pas a celle lue dans le run.def' 306 307 IF (raz_date == 1) then 307 308 WRITE(lunout,*)'Je prends l''heure lue dans run.def' … … 468 469 469 470 471 ! If we want to save multiple restart at different time (ecritstart.GT.0) 472 ! We will write in restart the initial day of the simulation and put all 473 ! the different time in the Time variable 474 ! However, if we write only one restart, we save the last day of the 475 ! simulation and put the remaining time (which is 0 if we do fulls days) 476 ! in the Time variable 477 470 478 if (planet_type=="mars") then 479 if (ecritstart.GT.0) then 471 480 ! For Mars we transmit day_ini 472 CALL dynredem0("restart.nc", day_ini, phis) 481 CALL dynredem0("restart.nc", day_ini, phis) 482 else 483 CALL dynredem0("restart.nc", day_end, phis) 484 endif 473 485 else 474 486 CALL dynredem0("restart.nc", day_end, phis) -
trunk/LMDZ.COMMON/libf/dyn3d/leapfrog.F
r2380 r2507 31 31 . statcl,conser,apdiss,purmats,tidal,ok_strato 32 32 USE temps_mod, ONLY: jD_ref,jH_ref,itaufin,day_ini,day_ref, 33 . start_time,dt,hour_ini 33 . start_time,dt,hour_ini,day_end 34 34 35 35 IMPLICIT NONE … … 278 278 abort_message = 'PK non strictement decroissante' 279 279 call abort_gcm(modname,abort_message,1) 280 c write(*,*) "ATTENTION, Test PK deconnect é..."280 c write(*,*) "ATTENTION, Test PK deconnecte..." 281 281 endif 282 282 enddo … … 500 500 IF ((planet_type.eq."titan").and.(tidal)) then 501 501 c----------------------------------------------------------------------- 502 c Mar ées gravitationnelles causées par Saturne502 c Marees gravitationnelles causees par Saturne 503 503 c B. Charnay (28/10/2010) 504 504 c ---------------------------------------------------------- … … 579 579 c+jld 580 580 581 c Diagnostique de conservation de l' énergie : initialisation581 c Diagnostique de conservation de l'energie : initialisation 582 582 IF (ip_ebil_dyn.ge.1 ) THEN 583 583 ztit='bil dyn' … … 635 635 ENDIF 636 636 637 c Diagnostique de conservation de l' énergie : difference637 c Diagnostique de conservation de l'energie : difference 638 638 IF (ip_ebil_dyn.ge.1 ) THEN 639 639 ztit='bil phys' … … 907 907 IF (lrestart) THEN 908 908 if (planet_type=="mars") then 909 CALL dynredem1("restart.nc",REAL(itau)/REAL(day_step), 910 & vcov,ucov,teta,q,masse,ps) 909 if(ecritstart.GT.0) then 910 CALL dynredem1("restart.nc", 911 & REAL(itau)/REAL(day_step), 912 & vcov,ucov,teta,q,masse,ps) 913 else 914 CALL dynredem1("restart.nc", 915 & REAL(itau)/REAL(day_step)-(day_end-day_ini), 916 & vcov,ucov,teta,q,masse,ps) 917 endif 911 918 else 912 919 CALL dynredem1("restart.nc",start_time, … … 1053 1060 IF (lrestart) THEN 1054 1061 if (planet_type=="mars") then 1055 CALL dynredem1("restart.nc",REAL(itau)/REAL(day_step), 1062 if(ecritstart.GT.0) then 1063 CALL dynredem1("restart.nc", 1064 & REAL(itau)/REAL(day_step), 1056 1065 & vcov,ucov,teta,q,masse,ps) 1066 else 1067 CALL dynredem1("restart.nc", 1068 & REAL(itau)/REAL(day_step)-(day_end-day_ini), 1069 & vcov,ucov,teta,q,masse,ps) 1070 endif 1057 1071 else 1058 1072 CALL dynredem1("restart.nc",start_time,
Note: See TracChangeset
for help on using the changeset viewer.