Changeset 2077 for branches/devmercator2010/NEMO/LIM_SRC_2/limdyn_2.F90
- Timestamp:
- 2010-09-09T10:43:51+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devmercator2010/NEMO/LIM_SRC_2/limdyn_2.F90
r2076 r2077 8 8 !! 2.0 ! 03-08 (C. Ethe) add lim_dyn_init 9 9 !! 2.0 ! 06-07 (G. Madec) Surface module 10 !! 3.3 ! 09-05 (G.Garric) addition of the lim2_evp cas11 10 !!--------------------------------------------------------------------- 12 11 #if defined key_lim2 … … 23 22 USE dom_ice_2 ! 24 23 USE limistate_2 ! 25 #if defined key_lim2_vp26 24 USE limrhg_2 ! ice rheology 27 #else 28 USE limrhg ! ice rheology 29 #endif 25 30 26 USE lbclnk ! 31 27 USE lib_mpp ! … … 91 87 i_jpj = jpj 92 88 IF(ln_ctl) CALL prt_ctl_info( 'lim_dyn : i_j1 = ', ivar1=i_j1, clinfo2=' ij_jpj = ', ivar2=i_jpj ) 93 #if defined key_lim2_vp94 89 CALL lim_rhg_2( i_j1, i_jpj ) 95 #else96 CALL lim_rhg( i_j1, i_jpj ) !!!!cbr CALL lim_rhg( i_j1, i_jpj, kt )97 #endif98 90 ! 99 91 ELSE ! optimization of the computational area … … 113 105 i_j1 = i_j1 + 1 114 106 END DO 115 #if defined key_lim2_vp116 107 i_j1 = MAX( 1, i_j1-1 ) 117 108 IF(ln_ctl) WRITE(numout,*) 'lim_dyn : NH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 118 109 ! 119 110 CALL lim_rhg_2( i_j1, i_jpj ) 120 #else121 i_j1 = MAX( 1, i_j1-2 )122 IF(ln_ctl) WRITE(numout,*) 'lim_dyn : NH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj123 CALL lim_rhg( i_j1, i_jpj )124 #endif125 111 ! 126 112 ! Southern hemisphere … … 130 116 i_jpj = i_jpj - 1 131 117 END DO 132 #if defined key_lim2_vp133 118 i_jpj = MIN( jpj, i_jpj+2 ) 134 119 IF(ln_ctl) WRITE(numout,*) 'lim_dyn : SH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 135 120 ! 136 121 CALL lim_rhg_2( i_j1, i_jpj ) 137 #else138 i_jpj = MIN( jpj, i_jpj+1 )139 IF(ln_ctl) WRITE(numout,*) 'lim_dyn : SH i_j1 = ', i_j1, ' ij_jpj = ', i_jpj140 CALL lim_rhg( i_j1, i_jpj ) !!!!cbr CALL lim_rhg( i_j1, i_jpj, kt )141 #endif142 122 ! 143 123 ELSE ! local domain extends over one hemisphere only … … 154 134 i_jpj = i_jpj - 1 155 135 END DO 156 #if defined key_lim2_vp157 136 i_jpj = MIN( jpj, i_jpj+2) 158 137 159 138 IF(ln_ctl) WRITE(numout,*) 'lim_dyn : one hemisphere: i_j1 = ', i_j1, ' ij_jpj = ', i_jpj 160 139 ! 161 140 CALL lim_rhg_2( i_j1, i_jpj ) 162 #else163 i_j1 = MAX( 1, i_j1-2 )164 i_jpj = MIN( jpj, i_jpj+1)165 IF(ln_ctl) WRITE(numout,*) 'lim_dyn : one hemisphere: i_j1 = ', i_j1, ' ij_jpj = ', i_jpj166 CALL lim_rhg( i_j1, i_jpj ) !!!!cbr CALL lim_rhg( i_j1, i_jpj, kt )167 #endif168 141 ! 169 142 ENDIF … … 175 148 ! computation of friction velocity 176 149 ! -------------------------------- 177 178 SELECT CASE( cl_grid )179 180 CASE( 'C' ) ! C-grid ice dynamics181 !?????????????????????????????????182 ! ice-ocean velocity at U & V-points (u_ice vi_ice at U- & V-points ; ssu_m, ssv_m at U- & V-points)183 zu_io(:,:) = u_ice(:,:) - ssu_m(:,:)184 zv_io(:,:) = v_ice(:,:) - ssv_m(:,:)185 186 187 CASE( 'B' ) ! B-grid ice dynamics188 150 ! ice-ocean velocity at U & V-points (u_ice v_ice at I-point ; ssu_m, ssv_m at U- & V-points) 189 151 … … 194 156 END DO 195 157 END DO 196 197 END SELECT198 199 158 ! frictional velocity at T-point 200 159 DO jj = 2, jpjm1 … … 239 198 NAMELIST/namicedyn/ epsd, alpha, & 240 199 & dm, nbiter, nbitdr, om, resl, cw, angvg, pstar, & 241 & c_rhg, etamn, creepl, ecc, ahi0, & 242 & nevp, telast, alphaevp 200 & c_rhg, etamn, creepl, ecc, ahi0 243 201 !!------------------------------------------------------------------- 244 202 … … 265 223 WRITE(numout,*) ' eccentricity of the elliptical yield curve ecc = ', ecc 266 224 WRITE(numout,*) ' horizontal diffusivity coeff. for sea-ice ahi0 = ', ahi0 267 WRITE(numout,*) ' number of iterations for subcycling nevp = ', nevp268 WRITE(numout,*) ' timescale for elastic waves telast = ', telast269 WRITE(numout,*) ' coefficient for the solution of int. stresses alphaevp = ', alphaevp270 225 ENDIF 271 226
Note: See TracChangeset
for help on using the changeset viewer.