Changeset 1017 for trunk/LMDZ.COMMON/libf/dyn3d/conf_gcm.F
- Timestamp:
- Aug 22, 2013, 4:02:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/conf_gcm.F
r1012 r1017 15 15 USE infotrac, ONLY : type_trac 16 16 use assert_m, only: assert 17 use sponge_mod, only: callsponge,mode_sponge,nsponge,tetasponge 17 18 18 19 IMPLICIT NONE … … 361 362 tau_top_bound=1.e-5 362 363 CALL getin('tau_top_bound',tau_top_bound) 364 365 ! the other possible sponge layer (sponge_mod) 366 callsponge=.false. ! default value; don't use the sponge 367 call getin("callsponge",callsponge) 368 ! check that user is not trying to use both sponge models 369 if ((iflag_top_bound.ge.1).and.callsponge) then 370 write(lunout,*)'Bad choice of options:' 371 write(lunout,*)' iflag_top_bound=',iflag_top_bound 372 write(lunout,*)' and callsponge=.true.' 373 write(lunout,*)'But both sponge models should not be', 374 & ' used simultaneously!' 375 stop 376 endif 377 378 ! nsponge: number of atmospheric layers over which the sponge extends 379 nsponge=3 ! default value 380 call getin("nsponge",nsponge) 381 382 ! mode_sponge: (quenching is towards ... over the upper nsponge layers) 383 ! 0: (h=hmean,u=v=0) 384 ! 1: (h=hmean,u=umean,v=0) 385 ! 2: (h=hmean,u=umean,v=vmean)" 386 mode_sponge=2 ! default value 387 call getin("mode_sponge",mode_sponge) 388 389 ! tetasponge: characteristic time scale (seconds) at topmost layer 390 ! (time scale then doubles with decreasing layer index)." 391 tetasponge=50000.0 392 call getin("tetasponge",tetasponge) 363 393 364 394 ! FOR TITAN: tidal forces
Note: See TracChangeset
for help on using the changeset viewer.