- Timestamp:
- 2010-05-03T13:59:46+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
r1855 r1857 4 4 !! LIM 2.0 ice model : definition of the ice mesh parameters 5 5 !!====================================================================== 6 !! ** History : LIM ! 2001-04 (UCL) original code7 !! 2.0 ! 2002-08 (C. Ethe, G. Madec) F90, module8 !!----------------------------------------------------------------------9 6 #if defined key_lim2 10 7 !!---------------------------------------------------------------------- … … 13 10 !! lim_msh_2 : definition of the ice mesh 14 11 !!---------------------------------------------------------------------- 12 !! * Modules used 15 13 USE phycst 16 14 USE dom_oce … … 22 20 PRIVATE 23 21 24 PUBLIC lim_msh_2 ! routine called by ice_ini_2.F90 25 26 !!---------------------------------------------------------------------- 27 !! NEMO/LIM 3.3, UCL-LOCEAN-IPSL (2010) 22 !! * Accessibility 23 PUBLIC lim_msh_2 ! routine called by ice_ini_2.F90 24 25 !!---------------------------------------------------------------------- 26 !! LIM 2.0, UCL-LOCEAN-IPSL (2005) 28 27 !! $Id$ 29 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)28 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt 30 29 !!---------------------------------------------------------------------- 31 30 … … 43 42 !! - Initialization of the ice masks (tmsk, umsk) 44 43 !! 45 !! Reference : Deleersnijder et al. Ocean Modelling 100, 7-10 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) 46 49 !!--------------------------------------------------------------------- 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 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 51 60 !!--------------------------------------------------------------------- 52 61 … … 103 112 !------------------- 104 113 !!ibug ??? 105 akappa(:,:,:,:) 106 wght (:,:,:,:)= 0.e0114 akappa(:,:,:,:) = 0.e0 115 wght(:,:,:,:) = 0.e0 107 116 alambd(:,:,:,:,:,:) = 0.e0 108 tmu (:,:)= 0.e0117 tmu(:,:) = 0.e0 109 118 !!i 110 119 … … 229 238 END DO 230 239 END DO 231 CALL lbc_lnk( tmu(:,:), 'I', 1. ) !--lateral boundary conditions 232 233 area(:,:) = e1t(:,:) * e2t(:,:) ! unmasked and masked area of T-grid cell 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(:,:) 234 246 235 247 END SUBROUTINE lim_msh_2 … … 239 251 !! Default option Dummy Module NO LIM sea-ice model 240 252 !!---------------------------------------------------------------------- 253 CONTAINS 254 SUBROUTINE lim_msh_2 ! Dummy routine 255 END SUBROUTINE lim_msh_2 241 256 #endif 242 257
Note: See TracChangeset
for help on using the changeset viewer.