Changeset 4180 for trunk/LMDZ.COMMON/libf/evolution/sorption.F90
- Timestamp:
- Apr 10, 2026, 7:17:55 PM (6 hours ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/sorption.F90 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/sorption.F90
r4174 r4180 18 18 ! DEPENDENCIES 19 19 ! ------------ 20 use numerics, only: dp, qp, di, k4, minieps20 use numerics, only: dp, qp, di, k4, eps 21 21 22 22 ! DECLARATION … … 230 230 deltam_reg_slope(ig,islope) = 0._dp 231 231 do iloop = 1,index_breccia 232 if (TI(ig,iloop,islope) < inertie_thresold .and. abs(h2o_ice(ig,islope)) < minieps .and. abs(co2_ice(ig,islope)) < minieps) then232 if (TI(ig,iloop,islope) < inertie_thresold .and. abs(h2o_ice(ig,islope)) < eps .and. abs(co2_ice(ig,islope)) < eps) then 233 233 if (iloop == 1) then 234 234 deltam_reg_complete(ig,iloop,islope) = (dm_h2o_regolith_slope(ig,iloop,islope) - h2o_ads_reg(ig,iloop,islope))*(layer(iloop)) … … 347 347 do islope = 1,nslope 348 348 do iloop = 1,index_breccia 349 if (TI(ig,iloop,islope) < inertie_thresold .and. abs(h2o_ice(ig,islope)) < minieps .and. abs(co2_ice(ig,islope)) < minieps) then349 if (TI(ig,iloop,islope) < inertie_thresold .and. abs(h2o_ice(ig,islope)) < eps .and. abs(co2_ice(ig,islope)) < eps) then 350 350 dm_co2_regolith_slope(ig,iloop,islope) = as*rho_regolith*m_theta*(1._dp - theta_h2o_ads(ig,iloop,islope))*alpha*pco2_avg(ig)/ & 351 351 (alpha*pco2_avg(ig) + sqrt(tsoil(ig,iloop,islope))*exp(beta/tsoil(ig,iloop,islope))) 352 352 else 353 if (abs(co2_ads_reg(ig,iloop,islope)) < minieps) then !!! we are at first call353 if (abs(co2_ads_reg(ig,iloop,islope)) < eps) then !!! we are at first call 354 354 dm_co2_regolith_slope(ig,iloop,islope) = as*rho_regolith*m_theta*(1._dp - theta_h2o_ads(ig,iloop,islope))*alpha*pco2_avg(ig) & 355 355 /(alpha*pco2_avg(ig)+sqrt(tsoil(ig,iloop,islope))*exp(beta/tsoil(ig,iloop,islope))) … … 368 368 deltam_reg_slope(ig,islope) = 0._dp 369 369 do iloop = 1,index_breccia 370 if (TI(ig,iloop,islope) < inertie_thresold .and. abs(h2o_ice(ig,islope)) < minieps .and. abs(co2_ice(ig,islope)) < minieps) then370 if (TI(ig,iloop,islope) < inertie_thresold .and. abs(h2o_ice(ig,islope)) < eps .and. abs(co2_ice(ig,islope)) < eps) then 371 371 if (iloop == 1) then 372 372 deltam_reg_complete(ig,iloop,islope) = (dm_co2_regolith_slope(ig,iloop,islope) - co2_ads_reg(ig,iloop,islope))*(layer(iloop))
Note: See TracChangeset
for help on using the changeset viewer.
