Changeset 1357 for LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3dpar/gcm.F
- Timestamp:
- Apr 14, 2010, 4:03:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3dpar/gcm.F
r1333 r1357 70 70 #include "description.h" 71 71 #include "serre.h" 72 #include "com_io_dyn.h"72 !#include "com_io_dyn.h" 73 73 #include "iniprint.h" 74 74 #include "tracstoke.h" 75 #ifdef INCA 76 ! Only INCA needs these informations (from the Earth's physics) 75 77 #include "indicesol.h" 78 #endif 76 79 77 80 INTEGER longcles … … 335 338 . ' restart ne correspondent pas a celles lues dans ' 336 339 write(lunout,*)' gcm.def' 337 338 339 340 write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 341 write(lunout,*)' day_ref=',day_ref," dayref=",dayref 342 write(lunout,*)' Pas de remise a zero' 340 343 ENDIF 341 c $$$if (annee_ref .ne. anneeref .or. day_ref .ne. dayref) then342 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=",anneeref348 c $$$write(lunout,*)' day_ref=',day_ref," dayref=",dayref349 c $$$if (raz_date .ne. 1) then350 c $$$write(lunout,*)351 c $$$. 'GCM: On garde les dates du fichier restart'352 c $$$else353 c $$$annee_ref = anneeref354 c $$$day_ref = dayref355 c $$$day_ini = dayref356 c $$$itau_dyn = 0357 c $$$itau_phy = 0358 c $$$time_0 = 0.359 c $$$write(lunout,*)360 c $$$. 'GCM: On reinitialise a la date lue dans gcm.def'361 c $$$endif362 c $$$ELSE363 c $$$raz_date = 0364 c $$$endif344 c if (annee_ref .ne. anneeref .or. day_ref .ne. dayref) then 345 c write(lunout,*) 346 c . 'GCM: Attention les dates initiales lues dans le fichier' 347 c write(lunout,*) 348 c . ' restart ne correspondent pas a celles lues dans ' 349 c write(lunout,*)' gcm.def' 350 c write(lunout,*)' annee_ref=',annee_ref," anneeref=",anneeref 351 c write(lunout,*)' day_ref=',day_ref," dayref=",dayref 352 c if (raz_date .ne. 1) then 353 c write(lunout,*) 354 c . 'GCM: On garde les dates du fichier restart' 355 c else 356 c annee_ref = anneeref 357 c day_ref = dayref 358 c day_ini = dayref 359 c itau_dyn = 0 360 c itau_phy = 0 361 c time_0 = 0. 362 c write(lunout,*) 363 c . 'GCM: On reinitialise a la date lue dans gcm.def' 364 c endif 365 c ELSE 366 c raz_date = 0 367 c endif 365 368 366 369 #ifdef CPP_IOIPSL … … 486 489 487 490 #ifdef CPP_IOIPSL 488 if ( 1.eq.1) then489 491 time_step = zdtvr 490 t_ops = iecri * daysec 491 t_wrt = iecri * daysec 492 if (ok_dyn_ins) then 493 ! initialize output file for instantaneous outputs 494 ! t_ops = iecri * daysec ! do operations every t_ops 495 t_ops =((1.0*iecri)/day_step) * daysec 496 t_wrt = daysec ! iecri * daysec ! write output every t_wrt 497 t_wrt = daysec ! iecri * daysec ! write output every t_wrt 498 CALL inithist(day_ref,annee_ref,time_step, 499 & t_ops,t_wrt) 492 500 ! CALL inithist_p(dynhist_file,day_ref,annee_ref,time_step, 493 501 ! . t_ops, t_wrt, histid, histvid) 494 495 IF (ok_dynzon) THEN 496 t_ops = iperiod * time_step 497 t_wrt = periodav * daysec 502 endif 503 504 IF (ok_dyn_ave) THEN 505 ! initialize output file for averaged outputs 506 t_ops = iperiod * time_step ! do operations every t_ops 507 t_wrt = periodav * daysec ! write output every t_wrt 508 CALL initdynav(day_ref,annee_ref,time_step, 509 & t_ops,t_wrt) 498 510 ! CALL initdynav_p(dynhistave_file,day_ref,annee_ref,time_step, 499 511 ! . t_ops, t_wrt, histaveid) 500 512 END IF 501 513 dtav = iperiod*dtvr/daysec 502 endif503 504 505 514 #endif 506 515 ! #endif of #ifdef CPP_IOIPSL
Note: See TracChangeset
for help on using the changeset viewer.