Changeset 3002
- Timestamp:
- Jul 20, 2023, 11:01:17 AM (16 months ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/conf_pem.F90
r2995 r3002 90 90 91 91 fluxgeo = 0. 92 CALL getin(' Fluxgeo_PEM',fluxgeo)92 CALL getin('fluxgeo',fluxgeo) 93 93 print*,'Flux Geothermal is set to',fluxgeo 94 94 … … 108 108 CALL getin('icetable_dynamic',icetable_dynamic) 109 109 print*, 'Do we compute the ice table with the dynamic method?', icetable_dynamic 110 111 110 if ((.not.soil_pem).and.((icetable_equilibrium).or.(icetable_dynamic))) then 112 111 print*,'Ice table must be used when soil_pem = T' -
trunk/LMDZ.COMMON/libf/evolution/glaciers_mod.F90
r2995 r3002 57 57 58 58 call transfer_ice_duringflow(ngrid,nslope,iflat, subslope_dist,def_slope_mean,hmax,Tcond,"co2",co2ice,flag_co2flow,flag_co2flow_mesh) 59 RETURN 59 RETURN 60 60 end subroutine 61 61 … … 96 96 97 97 call compute_hmaxglaciers(ngrid,nslope,iflat,def_slope_mean,Tice,"h2o",hmax) 98 99 98 call transfer_ice_duringflow(ngrid,nslope,iflat, subslope_dist,def_slope_mean,hmax,Tice,"h2o",h2oice,flag_h2oflow,flag_h2oflow_mesh) 100 99 … … 127 126 REAL,INTENT(IN) :: def_slope_mean(nslope) ! Slope field: Values of the subgrid slope angles [deg] 128 127 REAL,INTENT(IN) :: Tice(ngrid,nslope) ! Physical field: ice temperature [K] 129 character(len=3 0), INTENT(IN) :: name_ice ! Nature of the ice128 character(len=3), INTENT(IN) :: name_ice ! Nature of the ice 130 129 ! Outputs 131 130 REAL,INTENT(OUT) :: hmax(ngrid,nslope) ! Physical grid x Slope field: maximum thickness before flaw [m] … … 135 134 INTEGER :: ig,islope ! loop variables 136 135 REAL :: slo_angle 137 138 136 139 137 ! 1. Compute rho … … 198 196 REAL, INTENT(IN) :: hmax(ngrid,nslope) ! maximum height of the glaciers before initiating flow [m] 199 197 REAL, INTENT(IN) :: Tice(ngrid,nslope) ! Ice temperature[K] 200 character(len=3 0), INTENT(IN) :: name_ice ! Nature of the ice198 character(len=3), INTENT(IN) :: name_ice ! Nature of the ice 201 199 202 200 ! Outputs … … 208 206 REAL rho(ngrid,nslope) ! density of ice, temperature dependant [kg/m^3] 209 207 INTEGER iaval ! ice will be transfered here 210 211 212 208 213 209 ! 0. Compute rho -
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r2998 r3002 839 839 enddo 840 840 print *, 'Global average pressure old time step',global_ave_press_old 841 842 841 call WRITEDIAGFI(ngrid,'ps_ave','Global average pressure','Pa',0,global_ave_press_new) 843 842 … … 949 948 call h2oglaciers_evol(timelen,ngrid,nslope,iflat,subslope_dist,def_slope_mean,tsurf_ave,qsurf(:,igcm_h2o_ice,:),flag_h2oflow,flag_h2oflow_mesh) 950 949 endif 951 952 950 DO islope=1, nslope 953 951 write(str2(1:2),'(i2.2)') islope … … 1233 1231 if(soil_pem) then 1234 1232 call interpolate_TIPEM_TIGCM(ngrid,nslope,nsoilmx_PEM,nsoilmx,TI_PEM,inertiesoil) 1235 tsoil(:,:,:) = tsoil_phys_PEM_timeseries(:, :,:,timelen)1233 tsoil(:,:,:) = tsoil_phys_PEM_timeseries(:,1:nsoilmx,:,timelen) 1236 1234 endif !soil_pem 1237 1235
Note: See TracChangeset
for help on using the changeset viewer.