Changeset 1017 for trunk/LMDZ.COMMON/libf/dyn3dpar/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/dyn3dpar/conf_gcm.F
r1012 r1017 19 19 USE infotrac, ONLY : type_trac 20 20 use assert_m, only: assert 21 use sponge_mod_p, only: callsponge,mode_sponge,nsponge,tetasponge 21 22 IMPLICIT NONE 22 23 c----------------------------------------------------------------------- … … 388 389 tau_top_bound=1.e-5 389 390 CALL getin('tau_top_bound',tau_top_bound) 391 392 ! the other possible sponge layer (sponge_mod) 393 callsponge=.false. ! default value; don't use the sponge 394 call getin("callsponge",callsponge) 395 ! check that user is not trying to use both sponge models 396 if ((iflag_top_bound.ge.1).and.callsponge) then 397 write(lunout,*)'Bad choice of options:' 398 write(lunout,*)' iflag_top_bound=',iflag_top_bound 399 write(lunout,*)' and callsponge=.true.' 400 write(lunout,*)'But both sponge models should not be', 401 & ' used simultaneously!' 402 stop 403 endif 404 405 ! nsponge: number of atmospheric layers over which the sponge extends 406 nsponge=3 ! default value 407 call getin("nsponge",nsponge) 408 409 ! mode_sponge: (quenching is towards ... over the upper nsponge layers) 410 ! 0: (h=hmean,u=v=0) 411 ! 1: (h=hmean,u=umean,v=0) 412 ! 2: (h=hmean,u=umean,v=vmean)" 413 mode_sponge=2 ! default value 414 call getin("mode_sponge",mode_sponge) 415 416 ! tetasponge: characteristic time scale (seconds) at topmost layer 417 ! (time scale then doubles with decreasing layer index)." 418 tetasponge=50000.0 419 call getin("tetasponge",tetasponge) 390 420 391 421 ! FOR TITAN: tidal forces
Note: See TracChangeset
for help on using the changeset viewer.