Changeset 1535 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Apr 8, 2016, 8:46:54 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r1528 r1535 12 12 use slope_mod, only: theta_sl, psi_sl 13 13 use phyredem, only: physdem0,physdem1 14 use comgeomphy, only: initcomgeomphy 14 use comgeomphy, only: initcomgeomphy, airephy, cuphy, cvphy, 15 & rlond, rlatd 15 16 use planete_h, only: year_day, periheli, aphelie, peri_day, 16 17 & obliquit, emin_turb, lmixmin 17 18 use comcstfi_h, only: pi, rad, omeg, g, mugaz, rcp, r, cpp 18 use time_phylmdz_mod, only: daysec, dtphys, day_step 19 use time_phylmdz_mod, only: daysec, dtphys, day_step, 20 & ecritphy, iphysiq 19 21 use dimradmars_mod, only: tauscaling,tauvis 20 22 USE comvert_mod, ONLY: ap,bp,aps,bps,pa,preff,sig 21 23 USE logic_mod, ONLY: hybrid 24 use regular_lonlat_mod, only: init_regular_lonlat 22 25 USE phys_state_var_init_mod, ONLY: phys_state_var_init 23 26 IMPLICIT NONE … … 117 120 ! initialize "serial/parallel" related stuff 118 121 ! CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 119 CALL init_phys_lmdz( iim,jjm+1,llm,1,(/(jjm-1)*iim+2/))122 CALL init_phys_lmdz(1,1,llm,1,(/1/)) 120 123 call initcomgeomphy 121 124 … … 419 422 write(*,*) " day_step = ",day_step 420 423 424 iphysiq=1 ! in 1D model physics are called every time step 425 ecritphy=day_step ! default value for ecritphy, output every time step 426 421 427 ndt=10 ! default value for ndt 422 428 PRINT *,'Number of sols to run ?' … … 477 483 ! and allocates some arrays 478 484 !Mars possible matter with dtphys in input and include!!! 485 ! Initializations below should mimick what is done in iniphysiq for 3D GCM 486 call init_regular_lonlat(1,1,longitude,latitude, 487 & (/0.,0./),(/0.,0./)) 479 488 call phys_state_var_init(1,llm,nq, 480 489 . day0,time,daysec,dtphys,rad,g,r,cpp) … … 526 535 c mesh surface (not a very usefull quantity in 1D) 527 536 area(1)=1.E+0 537 airephy(1)=area(1) 528 538 529 539 c surface geopotential is not used (or useful) since in 1D
Note: See TracChangeset
for help on using the changeset viewer.