New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 834 for trunk/NEMO/LIM_SRC_3/limmsh.F90 – NEMO

Ignore:
Timestamp:
2008-03-07T18:11:35+01:00 (16 years ago)
Author:
ctlod
Message:

Clean comments and useless lines, see ticket:#72

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limmsh.F90

    r825 r834  
    66#if defined key_lim3 
    77   !!---------------------------------------------------------------------- 
    8    !!   'key_lim3'                                     LIM sea-ice model 
     8   !!   'key_lim3'                                      LIM3 sea-ice model 
    99   !!---------------------------------------------------------------------- 
    1010   !!   lim_msh   : definition of the ice mesh 
     
    2424 
    2525   !!---------------------------------------------------------------------- 
    26    !!   LIM 2.0,  UCL-LOCEAN-IPSL (2005)  
     26   !!   LIM 3.0,  UCL-ASTR-LOCEAN-IPSL (2008)  
    2727   !! $Header: /home/opalod/NEMOCVSROOT/NEMO/LIM_SRC/limmsh.F90,v 1.5 2005/03/27 18:34:42 opalod Exp $  
    2828   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
     
    7575      fcor(:,:) = 2. * omega * SIN( gphit(:,:) * rad )   !  coriolis factor 
    7676  
    77 !i    DO jj = 1, jpj 
    78 !i       zmsk(jj) = SUM( tmask(:,jj,:) )   ! = 0          if land  everywhere on a j-line 
    79 !!ii     write(numout,*) jj, zind(jj) 
    80 !i    END DO 
    81  
    8277      IF( fcor(1,1) * fcor(1,nlcj) < 0.e0 ) THEN   ! local domain include both hemisphere 
    8378         l_jeq = .TRUE. 
     
    118113      tmv(:,:) = 0.0e0 ! CGrid EVP 
    119114!!i 
    120        
    121        
    122115      ! metric coefficients for sea ice dynamic 
    123116      !---------------------------------------- 
     
    169162               &   + e2t(ji-1,jj-1) * wght(ji,jj,1,1) 
    170163 
    171 ! better written but change the last digit and thus solver in less than 100 timestep 
    172 !           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 ) 
    179164            zusden = 1.0 / MAX( zh1p * zh2p * 4.e0 , 1.e-20 ) 
    180165            zusden2 = zusden * 2.0  
     
    231216      tms(:,:) = tmask(:,:,1)      ! ice T-point  : use surface tmask 
    232217 
    233 !i here we can use umask with a i and j shift of -1,-1 
    234218      tmu(:,1) = 0.e0 
    235219      tmu(1,:) = 0.e0 
    236220      tmv(:,1) = 0.e0 
    237221      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 
    241223      DO jj = 1, jpj - 1 
    242224         DO ji = 2 , jpi - 1 
Note: See TracChangeset for help on using the changeset viewer.