Changeset 4138 for trunk/LMDZ.COMMON/libf/evolution/pem.F90
- Timestamp:
- Mar 17, 2026, 4:22:44 PM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/pem.F90 (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r4134 r4138 19 19 ! ------------ 20 20 ! Common modules 21 use job_timelimit_mod, only: timelimit, antetime, timewall22 21 use parse_args_mod, only: parse_args 23 ! PEM modules 22 24 23 use allocation, only: ini_allocation, end_allocation 25 24 use atmosphere, only: ps_PCM, evolve_pressure, CO2cond_ps_PCM … … 31 30 use geometry, only: ngrid, nslope, nday, nsoil_PCM, nsoil, cell_area, total_surface, nlayer 32 31 use glaciers, only: h2oice_flow, co2ice_flow, flow_co2glaciers, flow_h2oglaciers 33 use ice_table, only: icetable_equilibrium, icetable_dynamic, icetable_depth, icetable_thickness, ice_porefilling, evolve_ice_table 32 use ice_table, only: icetable_equilibrium, icetable_dynamic, evolve_ice_table 33 use job, only: timelimit, antetime, timewall 34 34 use layered_deposits, only: layering, do_layering, del_layering, evolve_layering, ptrarray, layering2surfice, surfice2layering, print_layering 35 35 use maths, only: pi … … 103 103 real(dp), dimension(:,:,:), allocatable :: h2o_ads_reg ! H2O adsorbed in the regolith [kg/m^2] 104 104 real(dp), dimension(:,:,:), allocatable :: co2_ads_reg ! CO2 adsorbed in the regolith [kg/m^2] 105 real(dp), dimension(:,:), allocatable :: icetable_depth ! Depth of the ice table [m] 106 real(dp), dimension(:,:), allocatable :: icetable_thickness ! Thickness of the ice table [m] 107 real(dp), dimension(:,:,:), allocatable :: ice_porefilling ! Amount of porefilling [m^3/m^3] 105 108 real(dp), dimension(:,:), allocatable :: icetable_depth_old ! Old depth of the ice table [m] 106 109 real(dp), dimension(:), allocatable :: delta_icetable ! Total mass of the H2O that has sublimated / condenses from the ice table [kg] … … 191 194 ! Read the "startevo.nc" 192 195 allocate(h2o_ice(ngrid,nslope),co2_ice(ngrid,nslope)) 196 allocate(icetable_depth(ngrid,nslope),icetable_thickness(ngrid,nslope),ice_porefilling(ngrid,nsoil,nslope)) 193 197 allocate(h2o_ads_reg(ngrid,nsoil,nslope),co2_ads_reg(ngrid,nsoil,nslope),delta_h2o_ads(ngrid),delta_co2_ads(ngrid)) 194 198 allocate(layerings_map(ngrid,nslope)) 199 icetable_depth(:,:) = 0._dp 200 icetable_thickness(:,:) = 0._dp 201 ice_porefilling(:,:,:) = 0._dp 195 202 delta_h2o_ads(:) = 0._dp 196 203 delta_co2_ads(:) = 0._dp … … 485 492 deallocate(d_h2oice,d_co2ice,d_co2ice_ini) 486 493 deallocate(delta_h2o_ads,delta_co2_ads,delta_icetable,icetable_depth_old) 494 deallocate(icetable_depth,icetable_thickness,ice_porefilling) 487 495 call end_allocation() 488 496
Note: See TracChangeset
for help on using the changeset viewer.
