Changeset 888 for trunk/NEMO/C1D_SRC/icestp1d.F90
- Timestamp:
- 2008-04-11T19:05:03+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/C1D_SRC/icestp1d.F90
r833 r888 6 6 !! History : 9.0 ! 04-10 (C. Ethe) from icestp, 1D configuration 7 7 !!---------------------------------------------------------------------- 8 #if defined key_cfg_1d && defined key_lim38 #if defined key_cfg_1d && ( defined key_lim3 || defined key_lim2 ) 9 9 !!---------------------------------------------------------------------- 10 10 !! 'key_cfg_1d' .AND. 1D Configuration 11 !! 'key_lim 3' Limsea-ice model11 !! 'key_lim2' OR 'key_lim3' : LIM 2.0 or 3.0 sea-ice model 12 12 !!---------------------------------------------------------------------- 13 13 !!---------------------------------------------------------------------- … … 18 18 USE in_out_manager ! I/O manager 19 19 USE ice_oce ! ice variables 20 USE flx_oce ! forcings variables 21 USE dom_ice ! LIM sea-ice domain 22 USE cpl_oce ! coupled ocean-atmosphere variables 23 USE blk_oce ! bulk variables 20 USE dom_ice_2 ! LIM sea-ice domain 21 USE sbc_oce ! surface boundary condition: ocean 22 USE sbc_ice ! surface boundary condition: ice 24 23 USE daymod ! calendar 25 24 USE phycst ! Define parameters for the routines 26 USE taumod ! surface stress forcing 27 USE ice ! ice variables 25 USE ice_2 ! ice variables 28 26 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 29 USE limthd 30 USE limflx 31 USE limwri 32 USE limrst 33 34 USE ocesbc ! thermohaline fluxes 35 USE flxmod ! thermohaline forcing 36 USE flxrnf ! runoffs forcing 27 USE limthd_2 28 USE limwri_2 29 USE limrst_2 30 37 31 USE tradmp ! damping salinity trend 38 32 USE dtatem ! ocean temperature data … … 52 46 !!---------------------------------------------------------------------- 53 47 !! LIM 2.0 , UCL-LOCEAN-IPSL (2006) 54 !! $ Header$48 !! $Id$ 55 49 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 56 50 !!---------------------------------------------------------------------- … … 109 103 u_io (:,:) = u_io (:,:) / FLOAT( nfice ) 110 104 v_io (:,:) = v_io (:,:) / FLOAT( nfice ) 111 gtaux (:,:) = taux(:,:)112 gtauy (:,:) = tauy(:,:)105 gtaux (:,:) = utau (:,:) 106 gtauy (:,:) = vtau (:,:) 113 107 114 108 zsss_io (:,:) = SQRT( sss_io(:,:) ) … … 220 214 IF( kt == nit000 ) THEN 221 215 qsr (:,:) = 0.e0 222 q t(:,:) = 0.e0216 qns (:,:) = 0.e0 223 217 qrp (:,:) = 0.e0 224 218 emp (:,:) = 0.e0 … … 238 232 ! ----------------- 239 233 240 q t (:,:) = fnsolar(:,:) + fsolar(:,:) ! non solar heat flux + solarflux234 qns (:,:) = fnsolar(:,:) ! non solar heat flux 241 235 qsr (:,:) = fsolar(:,:) ! solar flux 242 236 … … 261 255 DO ji = 1, fs_jpim1 ! vertor opt. 262 256 ztxy = freezn(ji,jj) ! ice/ocean indicator at T-points 263 taux(ji,jj) = (1.-ztxy) * taux(ji,jj) + ztxy * ftaux(ji,jj) ! stress at the ocean surface264 tauy(ji,jj) = (1.-ztxy) * tauy(ji,jj) + ztxy * ftauy(ji,jj)265 END DO 266 END DO 267 268 ! boundary condition on the stress ( taux,tauy)269 CALL lbc_lnk( taux, 'U', -1. )270 CALL lbc_lnk( tauy, 'V', -1. )257 utau(ji,jj) = (1.-ztxy) * utau(ji,jj) + ztxy * ftaux(ji,jj) ! stress at the ocean surface 258 vtau(ji,jj) = (1.-ztxy) * vtau(ji,jj) + ztxy * ftauy(ji,jj) 259 END DO 260 END DO 261 262 ! boundary condition on the stress (utau,vtau) 263 CALL lbc_lnk( utau, 'U', -1. ) 264 CALL lbc_lnk( vtau, 'V', -1. ) 271 265 272 266 ! Re-initialization of fluxes
Note: See TracChangeset
for help on using the changeset viewer.