41 #if (BASAL_HYDROLOGY==1) 60 real(dp),
intent(in) :: z_sl
62 logical,
save :: firstcall = .true.
64 #if (BASAL_HYDROLOGY==1) 65 real(dp),
save :: rho_rho_w_ratio
66 integer ,
dimension(0:IMAX,0:JMAX) :: hydro_icemask
67 real(dp),
dimension(0:IMAX,0:JMAX) :: hydro_topg, hydro_thk, &
68 hydro_temppabase, hydro_supply, &
69 hydro_sflux, hydro_bwat
70 type(hydro_t),
save :: hydro
76 #if (BASAL_HYDROLOGY==1) 82 call hydro_init(hydro,
xi,
eta)
83 call hydro_gen_conf(hydro, &
85 & avoid_frz=.false., &
86 & filter_len=0.0_dp, &
88 & rho_freshwater=
rho_w, &
93 hydro_topg = transpose(
zl)-z_sl
94 hydro_temppabase = transpose(
temph_b)
96 where (transpose(
maske)==0_i2b)
98 hydro_thk = transpose(
h_c+
h_t)
99 hydro_supply = rho_rho_w_ratio*transpose(
q_b_tot)
103 hydro_supply = 0.0_dp
106 call hydro_set_topg(hydro, hydro_topg)
107 call hydro_set_thk(hydro, hydro_thk)
108 call hydro_set_temppabase(hydro, hydro_temppabase)
109 call hydro_set_supply(hydro, hydro_supply)
110 call hydro_set_mask(hydro, hydro_icemask)
112 call hydro_update(hydro)
114 call hydro_get_sflux(hydro, hydro_sflux)
115 call hydro_get_bwat(hydro, hydro_bwat)
117 h_w = transpose(hydro_bwat)
125 elsewhere (
maske==3_i2b)
127 elsewhere (
maske==1_i2b)
131 if (firstcall) firstcall = .false.
subroutine, public calc_thk_water_bas(z_sl)
Main subroutine of calc_thk_water_bas_m: Computation of the thickness of the water column under the i...
real(dp) rho_w
RHO_W: Density of pure water.
Computation of the thickness of the water column under the ice base.
integer(i2b), dimension(0:jmax, 0:imax) maske
maske(j,i): Ice-land-ocean mask. 0: grounded ice, 1: ice-free land, 2: ocean, 3: floating ice ...
real(dp), dimension(0:jmax, 0:imax) zl
zl(j,i): Coordinate z of the lithosphere surface
Declarations of global variables for SICOPOLIS (for the ANT domain).
Declarations of kind types for SICOPOLIS.
real(dp), dimension(0:jmax, 0:imax) h_c
H_c(j,i): Thickness of ice in the upper (kc) domain (thickness of the cold-ice layer for POLY...
real(dp), dimension(0:jmax, 0:imax) q_b_tot
Q_b_tot(j,i): Sum of Q_bm and Q_tld.
real(dp), dimension(0:jmax, 0:imax) temph_b
temph_b(j,i): Basal temperature relative to the pressure melting point
real(dp), dimension(0:jmax) eta
eta(j): Coordinate eta (= y) of grid point j
real(dp), dimension(0:imax) xi
xi(i): Coordinate xi (= x) of grid point i
real(dp) rho_sw
RHO_SW: Density of sea water.
real(dp) rho
RHO: Density of ice.
real(dp), dimension(0:jmax, 0:imax) zb
zb(j,i): Coordinate z of the ice base
real(dp), dimension(0:jmax, 0:imax) h_t
H_t(j,i): Thickness of ice in the lower (kt) domain (thickness of the temperate layer for POLY...
real(dp), dimension(0:jmax, 0:imax) h_w
H_w(j,i): Thickness of the water column under the ice base.
Declarations of global variables for SICOPOLIS.