Changeset 3563
- Timestamp:
- Dec 17, 2024, 5:52:24 PM (5 days ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/NS_dyn_ss_ice_m.F90
r3532 r3563 37 37 real(8) ssi_depth_in, ssi_depth, T1 38 38 real(8), dimension(NP) :: zdepthF, zdepthE, zdepthT, zdepthG 39 real(8), dimension( NMAX,NP) :: porefill, porefill_in39 real(8), dimension(nz,NP) :: porefill, porefill_in 40 40 real(8), dimension(nz) :: Tb 41 41 real(8), dimension(NP) :: Tmean1, Tmean3, avrho1 … … 152 152 !print *,'Zt0= ',ZdepthT 153 153 call icelayer_mars(timestep,nz,NP,thIn,rhoc,z,porosity,pfrost,Tb,zdepthF, & 154 & zdepthE,porefill (1:nz,:),Tmean1,Tmean3,zdepthG, &154 & zdepthE,porefill,Tmean1,Tmean3,zdepthG, & 155 155 & albedo,p0,icefrac,zdepthT,avrho1, & 156 156 & avrho1prescribed) -
trunk/LMDZ.COMMON/libf/evolution/NS_fast_subs_mars.F90
r3538 r3563 49 49 real(8), SAVE :: avdrho_old(100), zdepth_old(100) ! NP<=100 50 50 logical mode2 51 52 avdrho_old = 1. ! initialization 51 53 52 54 !$omp parallel & -
trunk/LMDZ.COMMON/libf/evolution/changelog.txt
r3556 r3563 525 525 == 17/12/2024 == JBC 526 526 As intended, years computed by the PEM runs are now the only ones to be counted for the duration of the PEM simulation. The possibility to count in addition years computed by the PCM runs is left as an option of "launchPEM.sh" with the variable 'counting' (0 = "only PEM runs count"; any other values = "PCM runs are taken into account") + several small corrections/improvements in the launching scripts. 527 528 == 17/12/2024 == JBC 529 Correction of Norbert Schorghofer's code due to missing initialization and bad shape array as subroutine argument + some cleanings. -
trunk/LMDZ.COMMON/libf/evolution/pemetat0.F90
r3537 r3563 264 264 write(*,*)'PEM settings: failed loading <tsoil_PEM_slope'//num//'>' 265 265 write(*,*)'will reconstruct the values of Tsoil' 266 ! do ig = 1,ngrid267 ! kcond = (TI_PEM(ig,index_breccia+1,islope)*TI_PEM(ig,index_breccia+1,islope))/volcapa268 ! tsoil_PEM(ig,index_breccia+1,islope) = tsoil_PEM(ig,index_breccia,islope) + fluxgeo/kcond*(mlayer_PEM(index_breccia)-mlayer_PEM(index_breccia-1))269 ! do iloop=index_breccia+2,index_bedrock270 ! kcond = (TI_PEM(ig,iloop,islope)*TI_PEM(ig,iloop,islope))/volcapa271 ! tsoil_PEM(ig,iloop,islope) = tsoil_PEM(ig,index_breccia+1,islope) + fluxgeo/kcond*(mlayer_PEM(iloop-1)-mlayer_PEM(index_breccia))272 ! enddo273 ! kcond = (TI_PEM(ig,index_bedrock+1,islope)*TI_PEM(ig,index_bedrock+1,islope))/volcapa274 ! tsoil_PEM(ig,index_bedrock+1,islope) = tsoil_PEM(ig,index_bedrock,islope) + fluxgeo/kcond*(mlayer_PEM(index_bedrock)-mlayer_PEM(index_bedrock-1))275 !276 ! do iloop=index_bedrock+2,nsoil_PEM277 ! kcond = (TI_PEM(ig,iloop,islope)*TI_PEM(ig,iloop,islope))/volcapa278 ! tsoil_PEM(ig,iloop,islope) = tsoil_PEM(ig,index_bedrock+1,islope) + fluxgeo/kcond*(mlayer_PEM(iloop-1)-mlayer_PEM(index_bedrock))279 ! enddo280 ! enddo281 266 call ini_tsoil_pem(ngrid,nsoil_PEM,TI_PEM(:,:,islope),tsurf_avg_yr2(:,islope),tsoil_PEM(:,:,islope)) 282 267 call compute_tsoil_pem(ngrid,nsoil_PEM,.true.,TI_PEM(:,:,islope),timestep,tsurf_avg_yr2(:,islope),tsoil_PEM(:,:,islope)) … … 452 437 !b) Soil temperature 453 438 do islope = 1,nslope 454 ! do ig = 1,ngrid455 ! kcond = (TI_PEM(ig,index_breccia+1,islope)*TI_PEM(ig,index_breccia+1,islope))/volcapa456 ! tsoil_PEM(ig,index_breccia+1,islope) = tsoil_PEM(ig,index_breccia,islope) + fluxgeo/kcond*(mlayer_PEM(index_breccia)-mlayer_PEM(index_breccia-1))457 !458 ! do iloop=index_breccia+2,index_bedrock459 ! kcond = (TI_PEM(ig,iloop,islope)*TI_PEM(ig,iloop,islope))/volcapa460 ! tsoil_PEM(ig,iloop,islope) = tsoil_PEM(ig,index_breccia+1,islope) + fluxgeo/kcond*(mlayer_PEM(iloop-1)-mlayer_PEM(index_breccia))461 ! enddo462 ! kcond = (TI_PEM(ig,index_bedrock+1,islope)*TI_PEM(ig,index_bedrock+1,islope))/volcapa463 ! tsoil_PEM(ig,index_bedrock+1,islope) = tsoil_PEM(ig,index_bedrock,islope) + fluxgeo/kcond*(mlayer_PEM(index_bedrock)-mlayer_PEM(index_bedrock-1))464 !465 ! do iloop=index_bedrock+2,nsoil_PEM466 ! kcond = (TI_PEM(ig,iloop,islope)*TI_PEM(ig,iloop,islope))/volcapa467 ! tsoil_PEM(ig,iloop,islope) = tsoil_PEM(ig,index_bedrock+1,islope) + fluxgeo/kcond*(mlayer_PEM(iloop-1)-mlayer_PEM(index_bedrock))468 ! enddo469 ! enddo470 439 call ini_tsoil_pem(ngrid,nsoil_PEM,TI_PEM(:,:,islope),tsurf_avg_yr2(:,islope),tsoil_PEM(:,:,islope)) 471 440 call compute_tsoil_pem(ngrid,nsoil_PEM,.true.,TI_PEM(:,:,islope),timestep,tsurf_avg_yr2(:,islope),tsoil_PEM(:,:,islope))
Note: See TracChangeset
for help on using the changeset viewer.