- Timestamp:
- Mar 30, 2010, 3:34:15 PM (15 years ago)
- Location:
- LMDZ4/branches/LMDZ4V5.0-dev/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/gcm.F
r1320 r1333 304 304 C on remet le calendrier à zero si demande 305 305 c 306 if (annee_ref .ne. anneeref .or. day_ref .ne. dayref) then 306 IF (raz_date == 1) THEN 307 annee_ref = anneeref 308 day_ref = dayref 309 day_ini = dayref 310 itau_dyn = 0 311 itau_phy = 0 312 time_0 = 0. 313 write(lunout,*) 314 . 'GCM: On reinitialise a la date lue dans gcm.def' 315 ELSE IF (annee_ref .ne. anneeref .or. day_ref .ne. dayref) THEN 307 316 write(lunout,*) 308 317 . 'GCM: Attention les dates initiales lues dans le fichier' … … 312 321 write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 313 322 write(lunout,*)' day_ref=',day_ref," dayref=",dayref 314 if (raz_date .ne. 1) then 315 write(lunout,*) 316 . 'GCM: On garde les dates du fichier restart' 317 else 318 annee_ref = anneeref 319 day_ref = dayref 320 day_ini = dayref 321 itau_dyn = 0 322 itau_phy = 0 323 time_0 = 0. 324 write(lunout,*) 325 . 'GCM: On reinitialise a la date lue dans gcm.def' 326 endif 327 ELSE 328 raz_date = 0 329 endif 323 write(lunout,*)' Pas de remise a zero' 324 ENDIF 325 326 c$$$ if (annee_ref .ne. anneeref .or. day_ref .ne. dayref) then 327 c$$$ write(lunout,*) 328 c$$$ . 'GCM: Attention les dates initiales lues dans le fichier' 329 c$$$ write(lunout,*) 330 c$$$ . ' restart ne correspondent pas a celles lues dans ' 331 c$$$ write(lunout,*)' gcm.def' 332 c$$$ write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 333 c$$$ write(lunout,*)' day_ref=',day_ref," dayref=",dayref 334 c$$$ if (raz_date .ne. 1) then 335 c$$$ write(lunout,*) 336 c$$$ . 'GCM: On garde les dates du fichier restart' 337 c$$$ else 338 c$$$ annee_ref = anneeref 339 c$$$ day_ref = dayref 340 c$$$ day_ini = dayref 341 c$$$ itau_dyn = 0 342 c$$$ itau_phy = 0 343 c$$$ time_0 = 0. 344 c$$$ write(lunout,*) 345 c$$$ . 'GCM: On reinitialise a la date lue dans gcm.def' 346 c$$$ endif 347 c$$$ ELSE 348 c$$$ raz_date = 0 349 c$$$ endif 330 350 331 351 #ifdef CPP_IOIPSL -
LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3dpar/gcm.F
r1325 r1333 320 320 C on remet le calendrier à zero si demande 321 321 c 322 if (annee_ref .ne. anneeref .or. day_ref .ne. dayref) then 322 IF (raz_date == 1) THEN 323 annee_ref = anneeref 324 day_ref = dayref 325 day_ini = dayref 326 itau_dyn = 0 327 itau_phy = 0 328 time_0 = 0. 329 write(lunout,*) 330 . 'GCM: On reinitialise a la date lue dans gcm.def' 331 ELSE IF (annee_ref .ne. anneeref .or. day_ref .ne. dayref) THEN 323 332 write(lunout,*) 324 333 . 'GCM: Attention les dates initiales lues dans le fichier' … … 328 337 write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 329 338 write(lunout,*)' day_ref=',day_ref," dayref=",dayref 330 if (raz_date .ne. 1) then 331 write(lunout,*) 332 . 'GCM: On garde les dates du fichier restart' 333 else 334 annee_ref = anneeref 335 day_ref = dayref 336 day_ini = dayref 337 itau_dyn = 0 338 itau_phy = 0 339 time_0 = 0. 340 write(lunout,*) 341 . 'GCM: On reinitialise a la date lue dans gcm.def' 342 endif 343 ELSE 344 raz_date = 0 345 endif 339 write(lunout,*)' Pas de remise a zero' 340 ENDIF 341 c$$$ if (annee_ref .ne. anneeref .or. day_ref .ne. dayref) then 342 c$$$ write(lunout,*) 343 c$$$ . 'GCM: Attention les dates initiales lues dans le fichier' 344 c$$$ write(lunout,*) 345 c$$$ . ' restart ne correspondent pas a celles lues dans ' 346 c$$$ write(lunout,*)' gcm.def' 347 c$$$ write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 348 c$$$ write(lunout,*)' day_ref=',day_ref," dayref=",dayref 349 c$$$ if (raz_date .ne. 1) then 350 c$$$ write(lunout,*) 351 c$$$ . 'GCM: On garde les dates du fichier restart' 352 c$$$ else 353 c$$$ annee_ref = anneeref 354 c$$$ day_ref = dayref 355 c$$$ day_ini = dayref 356 c$$$ itau_dyn = 0 357 c$$$ itau_phy = 0 358 c$$$ time_0 = 0. 359 c$$$ write(lunout,*) 360 c$$$ . 'GCM: On reinitialise a la date lue dans gcm.def' 361 c$$$ endif 362 c$$$ ELSE 363 c$$$ raz_date = 0 364 c$$$ endif 346 365 347 366 #ifdef CPP_IOIPSL
Note: See TracChangeset
for help on using the changeset viewer.