Changeset 3188 for trunk/LMDZ.COMMON/libf/evolution
- Timestamp:
- Jan 29, 2024, 4:18:28 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r3181 r3188 137 137 real, dimension(:,:,:), allocatable :: q ! champs advectes 138 138 real, dimension(ip1jmp1) :: ps ! pression au sol 139 real :: CO2cond_ps ! Coefficient to control the surface pressure change 139 140 real, dimension(:), allocatable :: ps_start_PCM ! (ngrid) surface pressure 140 141 real, dimension(:,:), allocatable :: ps_timeseries ! (ngrid x timelen) instantaneous surface pressure … … 300 301 allocate(q(ip1jmp1,llm,nqtot)) 301 302 allocate(longitude(ngrid),latitude(ngrid),cell_area(ngrid)) 303 CO2cond_ps = 1. 302 304 #else 303 305 allocate(q(1,llm,nqtot)) … … 319 321 call init_testphys1d('start1D_evol.txt','startfi_evol.nc',.true.,therestart1D,therestartfi,ngrid,nlayer,610., & 320 322 nq,q,time_0,ps(1),ucov,vcov,teta,ndt,ptif,pks,dtphys,zqsat,dq,dqdyn,day0,day,gru,grv,w, & 321 play,plev,latitude,longitude,cell_area,atm_wat_profile,atm_wat_tau )323 play,plev,latitude,longitude,cell_area,atm_wat_profile,atm_wat_tau,CO2cond_ps) 322 324 ps(2) = ps(1) 323 325 nsplit_phys = 1 … … 643 645 do i = 1,ngrid 644 646 do islope = 1,nslope 645 global_avg_press_new = global_avg_press_new - g*cell_area(i)*tend_co2_ice(i,islope)*subslope_dist(i,islope)/cos(pi*def_slope_mean(islope)/180.)/Total_surface647 global_avg_press_new = global_avg_press_new - CO2cond_ps*g*cell_area(i)*tend_co2_ice(i,islope)*subslope_dist(i,islope)/cos(pi*def_slope_mean(islope)/180.)/Total_surface 646 648 enddo 647 649 enddo
Note: See TracChangeset
for help on using the changeset viewer.