- Timestamp:
- 2010-04-30T17:49:04+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/LIM_SRC_2/limmsh_2.F90
r1694 r1855 4 4 !! LIM 2.0 ice model : definition of the ice mesh parameters 5 5 !!====================================================================== 6 !! ** History : LIM ! 2001-04 (UCL) original code 7 !! 2.0 ! 2002-08 (C. Ethe, G. Madec) F90, module 8 !!---------------------------------------------------------------------- 6 9 #if defined key_lim2 7 10 !!---------------------------------------------------------------------- … … 10 13 !! lim_msh_2 : definition of the ice mesh 11 14 !!---------------------------------------------------------------------- 12 !! * Modules used13 15 USE phycst 14 16 USE dom_oce … … 20 22 PRIVATE 21 23 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) 27 28 !! $Id$ 28 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt29 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 29 30 !!---------------------------------------------------------------------- 30 31 … … 42 43 !! - Initialization of the ice masks (tmsk, umsk) 43 44 !! 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 49 46 !!--------------------------------------------------------------------- 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 60 51 !!--------------------------------------------------------------------- 61 52 … … 112 103 !------------------- 113 104 !!ibug ??? 114 akappa(:,:,:,:) = 0.e0115 wght (:,:,:,:)= 0.e0105 akappa(:,:,:,:) = 0.e0 106 wght (:,:,:,:) = 0.e0 116 107 alambd(:,:,:,:,:,:) = 0.e0 117 tmu (:,:)= 0.e0108 tmu (:,:) = 0.e0 118 109 !!i 119 110 … … 238 229 END DO 239 230 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 246 234 247 235 END SUBROUTINE lim_msh_2 … … 251 239 !! Default option Dummy Module NO LIM sea-ice model 252 240 !!---------------------------------------------------------------------- 253 CONTAINS254 SUBROUTINE lim_msh_2 ! Dummy routine255 END SUBROUTINE lim_msh_2256 241 #endif 257 242
Note: See TracChangeset
for help on using the changeset viewer.