Changeset 1006 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- Jul 19, 2013, 10:25:38 AM (11 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf
- Files:
-
- 1 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/dyn3d/comdissip.h
r135 r1006 1 c-----------------------------------------------------------------------2 cINCLUDE dissip.h1 !----------------------------------------------------------------------- 2 ! INCLUDE dissip.h 3 3 4 COMMON/comdissip/ 5 $niterdis,coefdis,tetavel,tetatemp,gamdissip4 COMMON/comdissip/ & 5 & niterdis,coefdis,tetavel,tetatemp,gamdissip 6 6 7 7 … … 10 10 REAL tetavel,tetatemp,coefdis,gamdissip 11 11 12 c-----------------------------------------------------------------------12 !----------------------------------------------------------------------- -
trunk/LMDZ.GENERIC/libf/dyn3d/defrun_new.F
r135 r1006 37 37 ! to use 'getin' 38 38 USE ioipsl_getincom 39 use sponge_mod,only: callsponge,nsponge,mode_sponge,tetasponge 39 40 IMPLICIT NONE 40 41 … … 45 46 #include "serre.h" 46 47 #include "comdissnew.h" 47 #include "sponge.h"48 48 c 49 49 c arguments: … … 451 451 452 452 WRITE(tapeout,*) "" 453 WRITE(tapeout,*) " Avec sponge layer"453 WRITE(tapeout,*) "Use a sponge layer?" 454 454 callsponge=.true. ! default value 455 455 call getin("callsponge",callsponge) … … 457 457 458 458 WRITE(tapeout,*) "" 459 WRITE(tapeout,*) "Sponge: mode0(u=v=0), mode1(u=umoy,v=0), ", 460 & "mode2(u=umoy,v=vmoy)" 459 WRITE(tapeout,*) "Sponge: number of layers over which", 460 & " sponge extends" 461 nsponge=3 ! default value 462 call getin("nsponge",nsponge) 463 WRITE(tapeout,*)" nsponge = ",nsponge 464 465 WRITE(tapeout,*)"" 466 WRITE(tapeout,*)"Sponge mode: (forcing is towards ..." 467 WRITE(tapeout,*)" over upper nsponge layers)" 468 WRITE(tapeout,*)" 0: (h=hmean,u=v=0)" 469 WRITE(tapeout,*)" 1: (h=hmean,u=umean,v=0)" 470 WRITE(tapeout,*)" 2: (h=hmean,u=umean,v=vmean)" 461 471 mode_sponge=2 ! default value 462 472 call getin("mode_sponge",mode_sponge) … … 464 474 465 475 WRITE(tapeout,*) "" 466 WRITE(tapeout,*) "Sponge: hauteur de sponge (km)" 467 hsponge=90.0 ! default value 468 call getin("hsponge",hsponge) 469 WRITE(tapeout,*)" hsponge = ",hsponge 470 471 WRITE(tapeout,*) "" 472 WRITE(tapeout,*) "Sponge: tetasponge (secondes)" 476 WRITE(tapeout,*) "Sponge: characteristic time scale tetasponge" 477 WRITE(tapeout,*) "(seconds) at topmost layer (time scale then " 478 WRITE(tapeout,*) " doubles with decreasing layer index)." 473 479 tetasponge=50000.0 474 480 call getin("tetasponge",tetasponge) -
trunk/LMDZ.GENERIC/libf/dyn3d/gcm.F
r993 r1006 1 1 PROGRAM gcm 2 2 3 use sponge_mod,only: callsponge,mode_sponge,sponge 3 4 IMPLICIT NONE 4 5 … … 46 47 #include "serre.h" 47 48 #include "tracstoke.h" 48 #include "sponge.h"49 49 #include"advtrac.h" 50 50 … … 444 444 c Sponge layer 445 445 c ~~~~~~~~~~~~ 446 DO ij=1, ip1jmp1 447 pext(ij)=ps(ij)*aire(ij) 448 ENDDO 446 449 447 IF (callsponge) THEN 450 CALL sponge(ucov,vcov,teta,pext,dtdiss,mode_sponge) 448 pext(1:ip1jmp1)=ps(1:ip1jmp1)*aire(1:ip1jmp1) 449 CALL sponge(ucov,vcov,teta,pext,dtdiss,mode_sponge) 451 450 ENDIF 452 451 -
trunk/LMDZ.GENERIC/libf/phystd/callsedim.F
r858 r1006 75 75 IF (firstcall) THEN 76 76 firstcall=.false. 77 ! add some tests on presence of required tracers/aerosols: 78 if (water) then 79 if (igcm_h2o_ice.eq.0) then 80 write(*,*) "callsedim error: water=.true.", 81 & " but igcm_h2o_ice=0" 82 stop 83 endif 84 if (iaero_h2o.eq.0) then 85 write(*,*) "callsedim error: water=.true.", 86 & " but iaero_ho2=0" 87 stop 88 endif 89 endif 77 90 ENDIF ! of IF (firstcall) 78 91
Note: See TracChangeset
for help on using the changeset viewer.