Changeset 6934
- Timestamp:
- 2016-09-16T18:09:35+02:00 (8 years ago)
- Location:
- branches/UKMO/SINGV_NEMO_5518/NEMOGCM/NEMO/OPA_SRC/DOM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/SINGV_NEMO_5518/NEMOGCM/NEMO/OPA_SRC/DOM/domwri.F90
r6933 r6934 32 32 !!---------------------------------------------------------------------- 33 33 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 34 !! $Id$ 34 !! $Id$ 35 35 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 36 36 !!---------------------------------------------------------------------- … … 79 79 ! ! workspaces 80 80 REAL(wp), POINTER, DIMENSION(:,: ) :: zprt, zprw 81 REAL(wp), POINTER, DIMENSION(:,:,:) :: zdepu, zdepv 81 REAL(wp), POINTER, DIMENSION(:,:,:) :: zdepu, zdepv, zdepf 82 82 !!---------------------------------------------------------------------- 83 83 ! … … 85 85 ! 86 86 CALL wrk_alloc( jpi, jpj, zprt, zprw ) 87 CALL wrk_alloc( jpi, jpj, jpk, zdepu, zdepv )87 CALL wrk_alloc( jpi, jpj, jpk, zdepu, zdepv, zdepf ) 88 88 ! 89 89 IF(lwp) WRITE(numout,*) … … 216 216 CALL iom_rstput( 0, 0, inum4, 'gdepw_1d' , gdepw_1d ) 217 217 ENDIF 218 219 !CEOD Added for gdep uvf 220 IF( ln_sco ) THEN ! s-coordinate 221 222 DO jk = 1,jpk 223 DO jj = 1, jpjm1 224 DO ji = 1, fs_jpim1 ! vector opt. 225 zdepu(ji,jj,jk) = 0.5*(gdept_0(ji,jj,jk) + gdept_0(ji+1,jj ,jk) ) 226 zdepv(ji,jj,jk) = 0.5*(gdept_0(ji,jj,jk) + gdept_0(ji ,jj+1,jk) ) 227 228 zdepf(ji,jj,jk) = 0.25*(gdept_0(ji,jj,jk) + gdept_0(ji+1 ,jj+1,jk) +gdept_0(ji+1,jj ,jk) + gdept_0(ji ,jj+1,jk) ) 229 END DO 230 END DO 231 END DO 232 233 CALL lbc_lnk( zdepu, 'U', 1. ) ; CALL lbc_lnk( zdepv, 'V', 1. ) 234 CALL iom_rstput( 0, 0, inum4, 'gdepu', zdepu, ktype = jp_r4 ) 235 CALL iom_rstput( 0, 0, inum4, 'gdepv', zdepv, ktype = jp_r4 ) 236 CALL iom_rstput( 0, 0, inum4, 'gdepf', zdepf, ktype = jp_r4 ) 237 CALL iom_rstput( 0, 0, inum4, 'gdepw_0', gdepw_0, ktype = jp_r4 ) 238 239 END IF 218 240 219 241 IF( ln_zps ) THEN ! z-coordinate - partial steps -
branches/UKMO/SINGV_NEMO_5518/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90
r6933 r6934 1958 1958 DO jj = 1, jpj 1959 1959 DO ji = 1, jpi 1960 ztaper = EXP( -(gphit(ji,jj)/8._wp)**2._wp )1960 ztaper = 0.0 !CEOD WARN EXP( -(gphit(ji,jj)/8._wp)**2._wp ) 1961 1961 hbatt(ji,jj) = rn_sbot_max * ztaper + hbatt(ji,jj) * ( 1._wp - ztaper ) 1962 1962 END DO -
branches/UKMO/SINGV_NEMO_5518/NEMOGCM/NEMO/OPA_SRC/DOM/istate.F90
r6933 r6934 211 211 ! 212 212 DO jk = 1, jpk 213 tsn(:,:,jk,jp_tem) = ( ( ( 7.5 - 0. * ABS( gphit(:,:) )/30. ) * ( 1.-TANH((fsdept(:,:,jk)-80.)/30.) ) &214 & + 10. * ( 5000. - fsdept(:,:,jk) ) /5000.) ) * tmask(:,:,jk)213 tsn(:,:,jk,jp_tem) = 10.0 !CEOD ( ( ( 7.5 - 0. * ABS( gphit(:,:) )/30. ) * ( 1.-TANH((fsdept(:,:,jk)-80.)/30.) ) & 214 ! & + 10. * ( 5000. - fsdept(:,:,jk) ) /5000.) ) * tmask(:,:,jk) 215 215 tsb(:,:,jk,jp_tem) = tsn(:,:,jk,jp_tem) 216 216 END DO
Note: See TracChangeset
for help on using the changeset viewer.