42 integer(i4b),
intent(in) :: i, j
43 real(dp),
intent(in) :: z_sl
45 real(dp) :: rhosw_rho_ratio, h_ice, h_sea
47 rhosw_rho_ratio = rho_sw/rho
51 if ( (maske(j,i) == 1_i2b).or.(maske(j,i) == 2_i2b) )
then
53 if (zl(j,i) > z_sl)
then
65 if (zl(j,i) > z_sl)
then
72 h_ice = zs(j,i)-zb(j,i)
75 if ( h_ice < (rhosw_rho_ratio*h_sea) )
then
77 #if ( MARGIN==1 || ( MARGIN==2 && MARINE_ICE_FORMATION==1 ) )
80 #elif ( MARGIN==2 && MARINE_ICE_FORMATION==2 )