Changeset 2917 for trunk/LMDZ.MARS/libf/phymars/dyn1d
- Timestamp:
- Mar 16, 2023, 2:56:08 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2878 r2917 13 13 & watercaptag, watercap, hmons, summit, base 14 14 use slope_mod, only: theta_sl, psi_sl 15 use comslope_mod, only: def_slope,subslope_dist 15 16 use phyredem, only: physdem0,physdem1 16 17 use geometry_mod, only: init_geometry … … 486 487 call getin("slope_orientation",psi_sl(1)) 487 488 489 ! sub-slopes parameters (assuming no sub-slopes distribution for now). 490 def_slope(1)=-90 ! minimum slope angle 491 def_slope(2)=90 ! maximum slope angle 492 subslope_dist(1,1)=1 ! fraction of subslopes in mesh 488 493 c 489 494 c for the gravity wave scheme … … 546 551 c CO2 ice on the surface 547 552 c ------------------- 548 553 ! get the index of co2 tracer (not known at this stage) 554 igcm_co2=0 555 do iq=1,nq 556 if (trim(tname(iq))=="co2") then 557 igcm_co2=iq 558 endif 559 enddo 560 if (igcm_co2==0) then 561 write(*,*) "testphys1d error, missing co2 tracer!" 562 stop 563 endif 549 564 qsurf(igcm_co2)=0.E+0 ! default value for co2ice 550 565 PRINT *,'Initial CO2 ice on the surface (kg.m-2)' … … 656 671 c Check if the surface is a water ice reservoir 657 672 c -------------------------------------------------- 658 watercap(1 )=0 ! Initialize watercap673 watercap(1,:)=0 ! Initialize watercap 659 674 watercaptag(1)=.false. ! Default: no water ice reservoir 660 675 print *,'Water ice cap on ground ?' … … 700 715 call physdem0("startfi.nc",longitude,latitude,nsoilmx,ngrid,llm, 701 716 & nq,dtphys,float(day0),0.,cell_area, 702 & albedodat,inertiedat )717 & albedodat,inertiedat,def_slope,subslope_dist) 703 718 call physdem1("startfi.nc",nsoilmx,ngrid,llm,nq, 704 719 & dtphys,time,
Note: See TracChangeset
for help on using the changeset viewer.