/[MITgcm]/MITgcm_contrib/dgoldberg/streamice/STREAMICE.h
ViewVC logotype

Diff of /MITgcm_contrib/dgoldberg/streamice/STREAMICE.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by heimbach, Fri Jul 27 21:07:13 2012 UTC revision 1.13 by dgoldberg, Thu Oct 4 15:40:16 2012 UTC
# Line 1  Line 1 
1  C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|  C---+----1--+-+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
2    
3  #ifdef ALLOW_STREAMICE  #ifdef ALLOW_STREAMICE
4    
# Line 9  C     -------------------------- REAL PA Line 9  C     -------------------------- REAL PA
9       & A_glen_isothermal, n_glen, eps_glen_min,       & A_glen_isothermal, n_glen, eps_glen_min,
10       & C_basal_fric_const, n_basal_friction, streamice_input_flux_unif,       & C_basal_fric_const, n_basal_friction, streamice_input_flux_unif,
11       & streamice_vel_update, streamice_cg_tol, streamice_nonlin_tol,       & streamice_vel_update, streamice_cg_tol, streamice_nonlin_tol,
12       & streamice_CFL_factor, streamice_adjDump       & streamice_nonlin_tol_fp,
13         & streamice_CFL_factor, streamice_adjDump,
14         & streamice_bg_surf_slope_x, streamice_bg_surf_slope_y,
15         & streamice_kx_b_init, streamice_ky_b_init
16        _RL streamice_density, streamice_density_ocean_avg        _RL streamice_density, streamice_density_ocean_avg
17        _RL A_glen_isothermal, n_glen, eps_glen_min        _RL A_glen_isothermal, n_glen, eps_glen_min
18        _RL C_basal_fric_const        _RL C_basal_fric_const
# Line 17  C     -------------------------- REAL PA Line 20  C     -------------------------- REAL PA
20        _RL streamice_input_flux_unif        _RL streamice_input_flux_unif
21        _RL streamice_vel_update        _RL streamice_vel_update
22        _RL streamice_cg_tol, streamice_nonlin_tol        _RL streamice_cg_tol, streamice_nonlin_tol
23          _RL streamice_nonlin_tol_fp
24        _RL streamice_CFL_factor        _RL streamice_CFL_factor
25        _RL streamice_adjDump        _RL streamice_adjDump
26          _RL streamice_bg_surf_slope_x, streamice_bg_surf_slope_y
27          _RL streamice_kx_b_init, streamice_ky_b_init
28                
29  C     parms for parameterized initial thickness  C     parms for parameterized initial thickness
30  C     SHELF_MAX_DRAFT: max thickness of ice in m  C     SHELF_MAX_DRAFT: max thickness of ice in m
# Line 61  C     -------------------------- CHAR PA Line 67  C     -------------------------- CHAR PA
67        CHARACTER*(MAX_LEN_FNAM) STREAMICEthickFile        CHARACTER*(MAX_LEN_FNAM) STREAMICEthickFile
68        CHARACTER*(MAX_LEN_FNAM) STREAMICEthickInit        CHARACTER*(MAX_LEN_FNAM) STREAMICEthickInit
69        CHARACTER*(MAX_LEN_FNAM) STREAMICEcalveMaskFile        CHARACTER*(MAX_LEN_FNAM) STREAMICEcalveMaskFile
70          CHARACTER*(MAX_LEN_FNAM) STREAMICEsigcoordInit
71          CHARACTER*(MAX_LEN_FNAM) STREAMICEsigcoordFile
72          CHARACTER*(MAX_LEN_FNAM) STREAMICEdelsigFile
73          CHARACTER*(MAX_LEN_FNAM) STREAMICEbasalTracConfig
74          CHARACTER*(MAX_LEN_FNAM) STREAMICEbasalTracFile
75          CHARACTER*(MAX_LEN_FNAM) STREAMICEvelOptimFile
76        COMMON /STREAMICE_PARM_C/        COMMON /STREAMICE_PARM_C/
77       &     STREAMICEthickInit,       &     STREAMICEthickInit,
78       &     STREAMICEthickFile,       &     STREAMICEthickFile,
79       &     STREAMICEcalveMaskFile       &     STREAMICEcalveMaskFile,
80         &     STREAMICEsigcoordInit,
81         &     STREAMICEsigcoordFile,
82         &     STREAMICEdelsigFile,
83         &     STREAMICEbasalTracConfig,
84         &     STREAMICEbasalTracFile,
85         &     STREAMICEvelOptimFile
86            
87  C     -------------------------- LOGICAL PARAMS ---------------------------------------------------  C     -------------------------- LOGICAL PARAMS ---------------------------------------------------
88    
# Line 77  C     -------------------------- LOGICAL Line 95  C     -------------------------- LOGICAL
95        LOGICAL STREAMICE_calve_to_mask        LOGICAL STREAMICE_calve_to_mask
96        LOGICAL STREAMICE_construct_matrix        LOGICAL STREAMICE_construct_matrix
97        LOGICAL STREAMICE_lower_cg_tol        LOGICAL STREAMICE_lower_cg_tol
98          LOGICAL STREAMICE_diagnostic_only
99          LOGICAL STREAMICE_ppm_driving_stress
100          LOGICAL STREAMICE_h_ctrl_const_surf
101          
102    C     The following parameters specify periodic boundary conditions.
103    C     For now this will completely override all other boundary conditions
104    C     and apply to the entire boundary
105    
106          LOGICAL STREAMICE_NS_periodic
107          LOGICAL STREAMICE_EW_periodic
108          
109    C      LOGICAL STREAMICE_hybrid_stress
110          
111        COMMON /STREAMICE_PARM_L/        COMMON /STREAMICE_PARM_L/
112       & STREAMICEison,       & STREAMICEison,
113       & STREAMICE_dump_mdsio, STREAMICE_tave_mdsio,       & STREAMICE_dump_mdsio, STREAMICE_tave_mdsio,
# Line 84  C     -------------------------- LOGICAL Line 115  C     -------------------------- LOGICAL
115       & STREAMICE_GL_regularize, STREAMICE_move_front,       & STREAMICE_GL_regularize, STREAMICE_move_front,
116       & STREAMICE_calve_to_mask,       & STREAMICE_calve_to_mask,
117       & STREAMICE_construct_matrix,       & STREAMICE_construct_matrix,
118       & STREAMICE_lower_cg_tol       & STREAMICE_lower_cg_tol,
119         & STREAMICE_NS_periodic, STREAMICE_EW_periodic,
120         & STREAMICE_diagnostic_only,
121         & STREAMICE_ppm_driving_stress,
122         & STREAMICE_h_ctrl_const_surf
123    
124  C     -------------------------- AND NOW ARRAYS ---------------------------------------------------  C     -------------------------- AND NOW ARRAYS ---------------------------------------------------
125    
# Line 173  C    REAL ARRAYS Line 208  C    REAL ARRAYS
208       &     u_bdry_values_SI,       &     u_bdry_values_SI,
209       &     v_bdry_values_SI,       &     v_bdry_values_SI,
210       &     STREAMICE_dummy_array,       &     STREAMICE_dummy_array,
211       &     C_basal_friction       &     C_basal_friction,
212         &     A_glen,
213         &     BDOT_streamice,
214         &     streamice_taubx, streamice_tauby,
215         &     streamice_u_surf, streamice_v_surf,
216         &     visc_streamice_full, streamice_omega, streamice_basal_geom,
217         &     streamice_vert_shear_uz, streamice_vert_shear_vz,
218    #ifdef USE_ALT_RLOW
219         &     R_low_si,
220    #endif
221         &     streamice_sigma_coord, streamice_delsigma,
222         &     H_streamice_prev
223    
224    
225        _RL H_streamice           (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL H_streamice           (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
226        _RL U_streamice           (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL U_streamice           (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
227        _RL V_streamice           (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL V_streamice           (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
# Line 190  C    REAL ARRAYS Line 238  C    REAL ARRAYS
238        _RL u_bdry_values_SI    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL u_bdry_values_SI    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
239        _RL v_bdry_values_SI    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL v_bdry_values_SI    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
240        _RL C_basal_friction    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL C_basal_friction    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
241          _RL A_glen    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
242    #ifdef USE_ALT_RLOW
243          _RL R_low_si    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
244    #endif
245    
246    C      The following arrays are used for the hybrid stress balance      
247          
248          _RL streamice_taubx (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
249          _RL streamice_tauby (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
250          _RL streamice_u_surf (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
251          _RL streamice_v_surf (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
252          _RL streamice_omega (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
253          _RL streamice_basal_geom
254         & (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
255          _RL visc_streamice_full
256         & (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
257          _RL streamice_vert_shear_uz (Nr)
258          _RL streamice_vert_shear_vz (Nr)
259          _RL streamice_sigma_coord (Nr)
260          _RL streamice_delsigma (Nr)
261                
262    !! IMPORTANT: MELT RATE IN METERS PER YEAR
263    !! POSITIVE WHERE MELTING
264          _RL BDOT_streamice (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
265          _RL H_streamice_prev (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
266        _RL STREAMICE_dummy_array (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL STREAMICE_dummy_array (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
267                
268          
269              
270          COMMON /STREAMICE_COST_RL/
271         &       cost_func1_streamice
272          _RL cost_func1_streamice(nSx,nSy)
273          
274  C    NOTES :  C    NOTES :
275  C      REAL ARRAYS THAT COMPRISE "STATE":  C      REAL ARRAYS THAT COMPRISE "STATE":
276  C       H_streamice,  C       H_streamice,

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22