Changeset 834 for trunk/NEMO/LIM_SRC_3/limmsh.F90
- Timestamp:
- 2008-03-07T18:11:35+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_3/limmsh.F90
r825 r834 6 6 #if defined key_lim3 7 7 !!---------------------------------------------------------------------- 8 !! 'key_lim3' LIMsea-ice model8 !! 'key_lim3' LIM3 sea-ice model 9 9 !!---------------------------------------------------------------------- 10 10 !! lim_msh : definition of the ice mesh … … 24 24 25 25 !!---------------------------------------------------------------------- 26 !! LIM 2.0, UCL-LOCEAN-IPSL (2005)26 !! LIM 3.0, UCL-ASTR-LOCEAN-IPSL (2008) 27 27 !! $Header: /home/opalod/NEMOCVSROOT/NEMO/LIM_SRC/limmsh.F90,v 1.5 2005/03/27 18:34:42 opalod Exp $ 28 28 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt … … 75 75 fcor(:,:) = 2. * omega * SIN( gphit(:,:) * rad ) ! coriolis factor 76 76 77 !i DO jj = 1, jpj78 !i zmsk(jj) = SUM( tmask(:,jj,:) ) ! = 0 if land everywhere on a j-line79 !!ii write(numout,*) jj, zind(jj)80 !i END DO81 82 77 IF( fcor(1,1) * fcor(1,nlcj) < 0.e0 ) THEN ! local domain include both hemisphere 83 78 l_jeq = .TRUE. … … 118 113 tmv(:,:) = 0.0e0 ! CGrid EVP 119 114 !!i 120 121 122 115 ! metric coefficients for sea ice dynamic 123 116 !---------------------------------------- … … 169 162 & + e2t(ji-1,jj-1) * wght(ji,jj,1,1) 170 163 171 ! better written but change the last digit and thus solver in less than 100 timestep172 ! zh1p = e1t(ji-1,jj ) * wght(ji,jj,1,2) + e1t(ji,jj ) * wght(ji,jj,2,2) &173 ! & + e1t(ji-1,jj-1) * wght(ji,jj,1,1) + e1t(ji,jj-1) * wght(ji,jj,2,1)174 175 ! zh2p = e2t(ji-1,jj ) * wght(ji,jj,1,2) + e2t(ji,jj ) * wght(ji,jj,2,2) &176 ! & + e2t(ji-1,jj-1) * wght(ji,jj,1,1) + e2t(ji,jj-1) * wght(ji,jj,2,1)177 178 !!ibug =0 zusden = 1.0 / ( zh1p * zh2p * 4.e0 )179 164 zusden = 1.0 / MAX( zh1p * zh2p * 4.e0 , 1.e-20 ) 180 165 zusden2 = zusden * 2.0 … … 231 216 tms(:,:) = tmask(:,:,1) ! ice T-point : use surface tmask 232 217 233 !i here we can use umask with a i and j shift of -1,-1234 218 tmu(:,1) = 0.e0 235 219 tmu(1,:) = 0.e0 236 220 tmv(:,1) = 0.e0 237 221 tmv(1,:) = 0.e0 238 ! DO jj = 2, jpj ! ice U.V-point: computed from ice T-point mask 239 ! DO ji = 2, jpim1 240 ! bug 222 241 223 DO jj = 1, jpj - 1 242 224 DO ji = 2 , jpi - 1
Note: See TracChangeset
for help on using the changeset viewer.