Changeset 541 for LMDZ4/trunk/libf/dyn3d
- Timestamp:
- Jun 22, 2004, 1:45:36 PM (20 years ago)
- Location:
- LMDZ4/trunk/libf/dyn3d
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3d/bilan_dyn.F
r524 r541 2 2 ! $Header$ 3 3 ! 4 c5 c $Header$6 c7 4 SUBROUTINE bilan_dyn (ntrac,dt_app,dt_cum, 8 5 s ps,masse,pk,flux_u,flux_v,teta,phi,ucov,vcov,trac) -
LMDZ4/trunk/libf/dyn3d/conf_gcm.F
r527 r541 574 574 ENDIF 575 575 c 576 !Config Key = offline 577 !Config Desc = Nouvelle eau liquide 578 !Config Def = n 579 !Config Help = Permet de mettre en route la 580 !Config nouvelle parametrisation de l'eau liquide ! 581 offline = .FALSE. 582 CALL getin('offline',offline) 583 576 584 577 585 write(lunout,*)' #########################################' … … 615 623 write(lunout,*)' tauxx = ', tauxx 616 624 write(lunout,*)' tauyy = ', tauyy 625 write(lunout,*)' offline = ', offline 617 626 618 627 RETURN … … 720 729 CALL getin('ysinus',ysinus) 721 730 c 731 !Config Key = offline 732 !Config Desc = Nouvelle eau liquide 733 !Config Def = n 734 !Config Help = Permet de mettre en route la 735 !Config nouvelle parametrisation de l'eau liquide ! 736 offline = .FALSE. 737 CALL getin('offline',offline) 738 write(lunout,*)' offline = ', offline 739 722 740 723 741 write(lunout,*)' #########################################' … … 761 779 write(lunout,*)' taux = ', taux 762 780 write(lunout,*)' tauy = ', tauy 781 write(lunout,*)' offline = ', offline 763 782 c 764 783 RETURN -
LMDZ4/trunk/libf/dyn3d/control.h
r524 r541 6 6 7 7 COMMON/control/nday,day_step, 8 $iperiod,iapp_tracvl,iconser,iecri,idissip,iphysiq ,9 $periodav,ecritphy,iecrimoy,dayref,anneeref,10 $ raz_date8 . iperiod,iapp_tracvl,iconser,iecri,idissip,iphysiq , 9 . periodav,ecritphy,iecrimoy,dayref,anneeref, 10 . raz_date,offline 11 11 12 12 INTEGER nday,day_step,iperiod,iapp_tracvl,iconser,iecri, 13 $idissip,iphysiq,iecrimoy,dayref,anneeref, raz_date13 . idissip,iphysiq,iecrimoy,dayref,anneeref, raz_date 14 14 REAL periodav, ecritphy 15 logical offline 15 16 16 17 c----------------------------------------------------------------------- -
LMDZ4/trunk/libf/dyn3d/dynetat0.F
r524 r541 106 106 IF ( tab_cntrl(24).EQ.1. ) THEN 107 107 fxyhypb = . TRUE . 108 dzoomx = tab_cntrl(25)109 dzoomy = tab_cntrl(26)110 taux = tab_cntrl(28)111 tauy = tab_cntrl(29)108 c dzoomx = tab_cntrl(25) 109 c dzoomy = tab_cntrl(26) 110 c taux = tab_cntrl(28) 111 c tauy = tab_cntrl(29) 112 112 ELSE 113 113 fxyhypb = . FALSE . -
LMDZ4/trunk/libf/dyn3d/dynredem.F
r524 r541 394 394 #include "comgeom.h" 395 395 #include "advtrac.h" 396 #include "temps.h" 396 397 397 398 INTEGER nq, l … … 406 407 INTEGER ierr 407 408 INTEGER iq 409 INTEGER length 410 PARAMETER (length = 100) 411 REAL tab_cntrl(length) ! tableau des parametres du run 408 412 character*20 modname 409 413 character*80 abort_message … … 435 439 #endif 436 440 PRINT*, "Enregistrement pour ", nb, time 441 442 c 443 c Re-ecriture du tableau de controle, itaufin n'est plus defini quand 444 c on passe dans dynredem0 445 ierr = NF_INQ_VARID (nid, "controle", nvarid) 446 IF (ierr .NE. NF_NOERR) THEN 447 abort_message="dynredem1: Le champ <controle> est absent" 448 ierr = 1 449 CALL abort_gcm(modname,abort_message,ierr) 450 ENDIF 451 #ifdef NC_DOUBLE 452 ierr = NF_GET_VAR_DOUBLE(nid, nvarid, tab_cntrl) 453 #else 454 ierr = NF_GET_VAR_REAL(nid, nvarid, tab_cntrl) 455 #endif 456 tab_cntrl(31) = FLOAT(itau_dyn + itaufin) 457 #ifdef NC_DOUBLE 458 ierr = NF_PUT_VAR_DOUBLE (nid,nvarid,tab_cntrl) 459 #else 460 ierr = NF_PUT_VAR_REAL (nid,nvarid,tab_cntrl) 461 #endif 437 462 438 463 c Ecriture des champs -
LMDZ4/trunk/libf/dyn3d/gcm.F
r524 r541 56 56 #include "com_io_dyn.h" 57 57 #include "iniprint.h" 58 59 c#include "tracstoke.h" 58 #include "tracstoke.h" 60 59 61 60 … … 118 117 c-jld 119 118 120 121 LOGICAL offline ! Controle du stockage ds "fluxmass"122 PARAMETER (offline=.false.)123 119 124 120 character*80 dynhist_file, dynhistave_file … … 368 364 #endif 369 365 366 c Choix des frequences de stokage pour le offline 367 c istdyn=day_step/4 ! stockage toutes les 6h=1jour/4 368 c istdyn=day_step/12 ! stockage toutes les 2h=1jour/12 369 istdyn=day_step/4 ! stockage toutes les 6h=1jour/12 370 istphy=istdyn/iphysiq 371 372 370 373 c 371 374 c----------------------------------------------------------------------- -
LMDZ4/trunk/libf/dyn3d/leapfrog.F
r524 r541 149 149 c-jld 150 150 151 LOGICAL offline ! Controle du stockage ds "fluxmass"152 PARAMETER (offline=.false.)153 154 151 character*80 dynhist_file, dynhistave_file 155 152 character*20 modname … … 199 196 200 197 #ifdef CPP_IOIPSL 201 if (ok_guide ) then198 if (ok_guide.and.(itaufin-itau-1)*dtvr.gt.21600) then 202 199 call guide(itau,ucov,vcov,teta,q,masse,ps) 200 else 201 print*,'attention on ne guide pas les 6 dernieres heures' 203 202 endif 204 203 #endif … … 289 288 290 289 #ifdef CPP_IOIPSL 291 cCALL fluxstokenc(pbaru,pbarv,masse,teta,phi,phis,292 c . time_step, itau)290 CALL fluxstokenc(pbaru,pbarv,masse,teta,phi,phis, 291 . dtvr, itau) 293 292 #endif 294 293 … … 486 485 487 486 IF( itau. EQ. itaufinp1 ) then 488 cwrite(79,*) 'ucov',ucov489 cwrite(80,*) 'vcov',vcov490 cwrite(81,*) 'teta',teta491 cwrite(82,*) 'ps',ps492 cwrite(83,*) 'q',q493 cWRITE(85,*) 'q1 = ',q(:,:,1)494 cWRITE(86,*) 'q3 = ',q(:,:,3)487 write(79,*) 'ucov',ucov 488 write(80,*) 'vcov',vcov 489 write(81,*) 'teta',teta 490 write(82,*) 'ps',ps 491 write(83,*) 'q',q 492 WRITE(85,*) 'q1 = ',q(:,:,1) 493 WRITE(86,*) 'q3 = ',q(:,:,3) 495 494 496 495 abort_message = 'Simulation finished' -
LMDZ4/trunk/libf/dyn3d/wrgrads.F
r524 r541 29 29 writectl=.false. 30 30 31 cprint*,if,iid(if),jid(if),ifd(if),jfd(if)31 print*,if,iid(if),jid(if),ifd(if),jfd(if) 32 32 iii=iid(if) 33 33 iji=jid(if) … … 38 38 lm=lmd(if) 39 39 40 cprint*,'im,jm,lm,name,firsttime(if)'41 cprint*,im,jm,lm,name,firsttime(if)40 print*,'im,jm,lm,name,firsttime(if)' 41 print*,im,jm,lm,name,firsttime(if) 42 42 43 43 if(firsttime(if)) then … … 81 81 endif 82 82 83 cprint*,'ivar(if),nvar(if),var(ivar(if),if),writectl'84 cprint*,ivar(if),nvar(if),var(ivar(if),if),writectl83 print*,'ivar(if),nvar(if),var(ivar(if),if),writectl' 84 print*,ivar(if),nvar(if),var(ivar(if),if),writectl 85 85 do l=1,nl 86 86 irec(if)=irec(if)+1
Note: See TracChangeset
for help on using the changeset viewer.