Changeset 1543 for trunk/LMDZ.MARS/libf/phymars/dyn1d
- Timestamp:
- Apr 22, 2016, 9:02:11 AM (9 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars/dyn1d
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r1541 r1543 3 3 ! to use 'getin' 4 4 USE ioipsl_getincom, only: getin 5 use dimphy, only : init_dimphy 6 use mod_grid_phy_lmdz, only : regular_lonlat 5 7 use infotrac, only: nqtot, tname 6 8 use comsoil_h, only: volcapa, layer, mlayer, inertiedat, nsoilmx … … 12 14 use slope_mod, only: theta_sl, psi_sl 13 15 use phyredem, only: physdem0,physdem1 14 use comgeomphy, only: initcomgeomphy, cell_area16 use geometry_mod, only: init_geometry 15 17 use planete_h, only: year_day, periheli, aphelie, peri_day, 16 18 & obliquit, emin_turb, lmixmin … … 21 23 USE comvert_mod, ONLY: ap,bp,aps,bps,pa,preff,sig 22 24 USE logic_mod, ONLY: hybrid 25 use physics_distribution_mod, only: init_physics_distribution 23 26 use regular_lonlat_mod, only: init_regular_lonlat 27 use mod_interface_dyn_phys, only: init_interface_dyn_phys 24 28 USE phys_state_var_init_mod, ONLY: phys_state_var_init 25 29 IMPLICIT NONE … … 106 110 Logical tracerdyn 107 111 integer :: nq=1 ! number of tracers 108 real :: latitude(1), longitude(1) 112 real :: latitude(1), longitude(1), cell_area(1) 109 113 110 114 character*2 str2 … … 119 123 ! initialize "serial/parallel" related stuff 120 124 ! CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 121 CALL init_phys_lmdz(1,1,llm,1,(/1/))122 call initcomgeomphy125 ! CALL init_phys_lmdz(1,1,llm,1,(/1/)) 126 ! call initcomgeomphy 123 127 124 128 c ------------------------------------------------------ … … 483 487 !Mars possible matter with dtphys in input and include!!! 484 488 ! Initializations below should mimick what is done in iniphysiq for 3D GCM 489 call init_physics_distribution(regular_lonlat,4, 490 & 1,1,1,nlayer,1) 491 call init_interface_dyn_phys 485 492 call init_regular_lonlat(1,1,longitude,latitude, 486 493 & (/0.,0./),(/0.,0./)) 494 call init_geometry(1,longitude,latitude, 495 & (/0.,0.,0.,0./),(/0.,0.,0.,0./), 496 & cell_area) 497 call init_dimphy(1,nlayer) ! Initialize dimphy module 487 498 call phys_state_var_init(1,llm,nq, 488 499 . day0,time,daysec,dtphys,rad,g,r,cpp)
Note: See TracChangeset
for help on using the changeset viewer.