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 1855 for branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/LIM_SRC_2/limmsh_2.F90 – NEMO

Ignore:
Timestamp:
2010-04-30T17:49:04+02:00 (14 years ago)
Author:
gm
Message:

ticket:#665 style change only, with the suppression of thd_ice_2 (merged in ice_2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/LIM_SRC_2/limmsh_2.F90

    r1694 r1855  
    44   !! LIM 2.0 ice model :   definition of the ice mesh parameters 
    55   !!====================================================================== 
     6   !! ** History :  LIM  ! 2001-04 (UCL)  original code 
     7   !!               2.0  ! 2002-08 (C. Ethe, G. Madec) F90, module 
     8   !!---------------------------------------------------------------------- 
    69#if defined key_lim2 
    710   !!---------------------------------------------------------------------- 
     
    1013   !!   lim_msh_2   : definition of the ice mesh 
    1114   !!---------------------------------------------------------------------- 
    12    !! * Modules used 
    1315   USE phycst 
    1416   USE dom_oce 
     
    2022   PRIVATE 
    2123 
    22    !! * Accessibility 
    23    PUBLIC lim_msh_2      ! routine called by ice_ini_2.F90 
    24  
    25    !!---------------------------------------------------------------------- 
    26    !!   LIM 2.0,  UCL-LOCEAN-IPSL (2005)  
     24   PUBLIC   lim_msh_2   ! routine called by ice_ini_2.F90 
     25 
     26   !!---------------------------------------------------------------------- 
     27   !! NEMO/LIM 3.3,  UCL-LOCEAN-IPSL (2010)  
    2728   !! $Id$ 
    28    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
     29   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    2930   !!---------------------------------------------------------------------- 
    3031 
     
    4243      !!              - Initialization of the ice masks (tmsk, umsk) 
    4344      !!  
    44       !! ** Refer.  : Deleersnijder et al. Ocean Modelling 100, 7-10  
    45       !! 
    46       !! ** History : 
    47       !!         original    : 01-04 (LIM) 
    48       !!         addition    : 02-08 (C. Ethe, G. Madec) 
     45      !! Reference  : Deleersnijder et al. Ocean Modelling 100, 7-10  
    4946      !!---------------------------------------------------------------------  
    50       !! * Local variables 
    51       INTEGER :: ji, jj      ! dummy loop indices 
    52  
    53       REAL(wp), DIMENSION(jpi,jpj) ::  & 
    54          zd2d1 , zd1d2       ! Derivative of zh2 (resp. zh1) in the x direction 
    55          !                   ! (resp. y direction) (defined at the center) 
    56       REAL(wp) ::         & 
    57          zh1p  , zh2p   , &  ! Idem zh1, zh2 for the bottom left corner of the grid 
    58          zd2d1p, zd1d2p , &  ! Idem zd2d1, zd1d2 for the bottom left corner of the grid 
    59          zusden, zusden2     ! temporary scalars 
     47      INTEGER  ::   ji, jj   ! dummy loop indices 
     48      REAL(wp) ::   zh1p, zd1d2p, zusden    ! temporary scalars 
     49      REAL(wp) ::   zh2p, zd2d1p, zusden2   !    -         - 
     50      REAL(wp), DIMENSION(jpi,jpj) ::   zd2d1 , zd1d2   ! 2D workspace 
    6051      !!--------------------------------------------------------------------- 
    6152 
     
    112103      !------------------- 
    113104!!ibug ??? 
    114       akappa(:,:,:,:) = 0.e0 
    115       wght(:,:,:,:) = 0.e0 
     105      akappa(:,:,:,:)     = 0.e0 
     106      wght  (:,:,:,:)    = 0.e0 
    116107      alambd(:,:,:,:,:,:) = 0.e0 
    117       tmu(:,:) = 0.e0 
     108      tmu   (:,:)        = 0.e0 
    118109!!i 
    119110       
     
    238229         END DO 
    239230      END DO 
    240        
    241       !--lateral boundary conditions     
    242       CALL lbc_lnk( tmu(:,:), 'I', 1. ) 
    243        
    244       ! unmasked and masked area of T-grid cell 
    245       area(:,:) = e1t(:,:) * e2t(:,:) 
     231      CALL lbc_lnk( tmu(:,:), 'I', 1. )      !--lateral boundary conditions     
     232       
     233      area(:,:) = e1t(:,:) * e2t(:,:)        ! unmasked and masked area of T-grid cell 
    246234       
    247235   END SUBROUTINE lim_msh_2 
     
    251239   !!   Default option            Dummy Module         NO LIM sea-ice model 
    252240   !!---------------------------------------------------------------------- 
    253 CONTAINS 
    254    SUBROUTINE lim_msh_2           ! Dummy routine 
    255    END SUBROUTINE lim_msh_2 
    256241#endif 
    257242 
Note: See TracChangeset for help on using the changeset viewer.