- Timestamp:
- Jul 15, 2025, 12:13:09 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3843 r3848 319 319 write(*,*) " psurf = ",psurf 320 320 321 ! Compute pressures and altitudes of atmospheric levels 322 ! ----------------------------------------------------- 323 ! Vertical Coordinates 324 ! """""""""""""""""""" 325 hybrid = .true. 326 write(*,*)'Hybrid coordinates?' 327 call getin("hybrid",hybrid) 328 write(*,*) " hybrid = ", hybrid 329 330 ! Reference pressures 331 pa = 20. ! Transition pressure (for hybrid coord.) 332 preff = 610. ! Reference surface pressure 333 334 call disvert_noterre 335 ! Now that disvert has been called, initialize module vertical_layers_mod 336 call init_vertical_layers(nlayer,preff,scaleheight,ap,bp,aps,bps,presnivs,pseudoalt) 337 338 plev = ap + psurf*bp 339 play = aps + psurf*bps 340 zlay = -200.*r*log(play/plev(1))/g 341 321 342 ! Coefficient to control the surface pressure change 322 343 ! To be defined in "callphys.def" so that the PEM can read it asa well … … 331 352 error stop 'Please, specify a correct value!' 332 353 endif 333 334 ! Reference pressures335 pa = 20. ! Transition pressure (for hybrid coord.)336 preff = 610. ! Reference surface pressure337 354 338 355 ! Aerosol properties … … 512 529 write(*,*) "init_testphys1d: initializing tracers" 513 530 if (.not. therestart1D) then 514 call read_profile(nq,nlayer,qsurf(1,:,1),q )531 call read_profile(nq,nlayer,qsurf(1,:,1),q,play) 515 532 do iq = 1,nq 516 533 qsurf(1,iq,:) = qsurf(1,iq,1) … … 631 648 endif 632 649 endif !(.not. therestartfi) 633 634 ! Compute pressures and altitudes of atmospheric levels635 ! -----------------------------------------------------636 ! Vertical Coordinates637 ! """"""""""""""""""""638 hybrid = .true.639 write(*,*)'Hybrid coordinates?'640 call getin("hybrid",hybrid)641 write(*,*) " hybrid = ", hybrid642 643 call disvert_noterre644 ! Now that disvert has been called, initialize module vertical_layers_mod645 call init_vertical_layers(nlayer,preff,scaleheight,ap,bp,aps,bps,presnivs,pseudoalt)646 647 plev = ap + psurf*bp648 play = aps + psurf*bps649 zlay = -200.*r*log(play/plev(1))/g650 650 651 651 ! Initialize temperature profile
Note: See TracChangeset
for help on using the changeset viewer.