Changeset 3183 for trunk/LMDZ.MARS/libf/phymars/dyn1d
- Timestamp:
- Jan 25, 2024, 6:06:27 PM (2 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars/dyn1d
- Files:
-
- 2 edited
-
init_testphys1d_mod.F90 (modified) (6 diffs)
-
testphys1d.F90 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3179 r3183 41 41 use conf_phys_mod, only: conf_phys 42 42 use paleoclimate_mod, only: paleoclimate 43 use comslope_mod, only: nslope, subslope_dist, ini_comslope_h, end_comslope_h 43 44 ! Mostly for XIOS outputs: 44 45 use mod_const_mpi, only: COMM_LMDZ … … 208 209 allocate(nqfils(nqtot)) 209 210 nqperes = 0 210 nqfils (:)= 0211 nqfils = 0 211 212 do iq = 1,nqtot 212 213 if (tnom_transp(iq) == 'air') then … … 373 374 longitude = longitude*pi/180. 374 375 375 ! Some initializations (some of which have already been 376 ! done above!) and loads parameters set in callphys.def 377 ! and allocates some arrays 376 ! Some initializations (some of which have already been done above!) 377 ! and loads parameters set in callphys.def and allocates some arrays 378 378 ! Mars possible matter with dttestphys in input and include!!! 379 379 ! Initializations below should mimick what is done in iniphysiq for 3D GCM … … 383 383 call init_geometry_cell_area_for_outputs(1,cell_area) 384 384 ! Ehouarn: init_vertial_layers called later (because disvert not called yet) 385 ! call init_vertical_layers(nlayer,preff,scaleheight, 386 ! & ap,bp,aps,bps,presnivs,pseudoalt) 385 ! call init_vertical_layers(nlayer,preff,scaleheight,ap,bp,aps,bps,presnivs,pseudoalt) 387 386 call init_dimphy(1,nlayer) ! Initialize dimphy module 388 call phys_state_var_init(1,llm,nq,tname,day0,dayn,time,daysec,dttestphys,rad,g,r,cpp,nqperes,nqfils) ! MVals: variables isotopes387 call phys_state_var_init(1,llm,nq,tname,day0,dayn,time,daysec,dttestphys,rad,g,r,cpp,nqperes,nqfils) ! MVals: variables isotopes 389 388 call ini_fillgeom(1,latitude,longitude,(/1.0/)) 390 389 call conf_phys(1,llm,nq) … … 461 460 462 461 ! For the non-orographic gravity waves scheme 463 du_nonoro_gwd(1,:) =0464 dv_nonoro_gwd(1,:) =0462 du_nonoro_gwd(1,:) = 0 463 dv_nonoro_gwd(1,:) = 0 465 464 466 465 ! For the slope wind scheme … … 559 558 if (.not. therestart1D) then 560 559 tsurf(:,1) = tmp2(0) 561 temp (:)= tmp2(1:)560 temp = tmp2(1:) 562 561 else 563 562 read(3,*) header, (tsurf(1,:), j = 1,size(tsurf,2)), (temp(ilayer), ilayer = 1,nlayer) -
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
r3179 r3183 255 255 ! Compute winds and temperature for next time step 256 256 ! ------------------------------------------------ 257 u (:) = u(:) + dttestphys*du(:)258 v (:) = v(:) + dttestphys*dv(:)259 temp (:) = temp(:) + dttestphys*dtemp(:)257 u = u + dttestphys*du 258 v = v + dttestphys*dv 259 temp = temp + dttestphys*dtemp 260 260 261 261 ! Compute pressure for next time step
Note: See TracChangeset
for help on using the changeset viewer.
