--- MITgcm_contrib/dgoldberg/streamice/STREAMICE.h 2012/09/18 17:06:48 1.7 +++ MITgcm_contrib/dgoldberg/streamice/STREAMICE.h 2012/10/10 02:26:48 1.15 @@ -1,4 +1,4 @@ -C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| +C---+----1--+-+----2----+----3----+----4----+----5----+----6----+----7-|--+----| #ifdef ALLOW_STREAMICE @@ -12,7 +12,8 @@ & streamice_nonlin_tol_fp, & streamice_CFL_factor, streamice_adjDump, & streamice_bg_surf_slope_x, streamice_bg_surf_slope_y, - & streamice_kx_b_init, streamice_ky_b_init + & streamice_kx_b_init, streamice_ky_b_init, + & streamice_wgt_drift, streamice_wgt_surf _RL streamice_density, streamice_density_ocean_avg _RL A_glen_isothermal, n_glen, eps_glen_min _RL C_basal_fric_const @@ -25,6 +26,8 @@ _RL streamice_adjDump _RL streamice_bg_surf_slope_x, streamice_bg_surf_slope_y _RL streamice_kx_b_init, streamice_ky_b_init + _RL streamice_wgt_drift, streamice_wgt_surf + C parms for parameterized initial thickness C SHELF_MAX_DRAFT: max thickness of ice in m @@ -96,6 +99,8 @@ LOGICAL STREAMICE_construct_matrix LOGICAL STREAMICE_lower_cg_tol LOGICAL STREAMICE_diagnostic_only + LOGICAL STREAMICE_ppm_driving_stress + LOGICAL STREAMICE_h_ctrl_const_surf C The following parameters specify periodic boundary conditions. C For now this will completely override all other boundary conditions @@ -115,7 +120,9 @@ & STREAMICE_construct_matrix, & STREAMICE_lower_cg_tol, & STREAMICE_NS_periodic, STREAMICE_EW_periodic, - & STREAMICE_diagnostic_only + & STREAMICE_diagnostic_only, + & STREAMICE_ppm_driving_stress, + & STREAMICE_h_ctrl_const_surf C -------------------------- AND NOW ARRAYS --------------------------------------------------- @@ -211,7 +218,15 @@ & streamice_u_surf, streamice_v_surf, & visc_streamice_full, streamice_omega, streamice_basal_geom, & streamice_vert_shear_uz, streamice_vert_shear_vz, - & streamice_sigma_coord, streamice_delsigma + & streamice_sigma_coord, streamice_delsigma, + & H_streamice_prev + +#ifdef USE_ALT_RLOW + COMMON /STREAMICE_RLOW/ + & R_low_si +#endif + + _RL H_streamice (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) _RL U_streamice (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) _RL V_streamice (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) @@ -229,7 +244,10 @@ _RL v_bdry_values_SI (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) _RL C_basal_friction (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) _RL A_glen (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) - +#ifdef USE_ALT_RLOW + _RL R_low_si (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) +#endif + C The following arrays are used for the hybrid stress balance _RL streamice_taubx (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) @@ -249,9 +267,15 @@ !! IMPORTANT: MELT RATE IN METERS PER YEAR !! POSITIVE WHERE MELTING _RL BDOT_streamice (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) - + _RL H_streamice_prev (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) _RL STREAMICE_dummy_array (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) + + + COMMON /STREAMICE_COST_RL/ + & cost_func1_streamice + _RL cost_func1_streamice(nSx,nSy) + C NOTES : C REAL ARRAYS THAT COMPRISE "STATE": C H_streamice,