- Timestamp:
- 2016-05-03T14:28:12+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r6501_GO6_package_trunk/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90
r6503 r6507 105 105 INTEGER :: isrow ! index for ORCA1 starting row 106 106 INTEGER , POINTER, DIMENSION(:,:) :: imsk 107 REAL(wp) :: zphi_drake_passage, zshlat_antarc 107 108 REAL(wp), POINTER, DIMENSION(:,:) :: zwf 108 109 !! … … 345 346 ENDIF 346 347 ! 348 IF( cp_cfg == "orca" .AND. jp_cfg == 025 .AND. rn_shlat == 0.0 ) THEN 349 ! ! ORCA_R025 configuration 350 ! ! Increased lateral friction on parts of Antarctic coastline 351 ! ! for increased stability 352 ! ! NB. This only works to do this here if we have free slip 353 ! ! generally, so fmask is zero at coast points. 354 IF(lwp) WRITE(numout,*) 355 IF(lwp) WRITE(numout,*) ' orca_r025: increase friction in following regions : ' 356 IF(lwp) WRITE(numout,*) ' whole Antarctic coastline: partial slip shlat=1 ' 357 358 zphi_drake_passage = -58.0_wp 359 zshlat_antarc = 1.0_wp 360 zwf(:,:) = fmask(:,:,1) 361 DO jj = 2, jpjm1 362 DO ji = fs_2, fs_jpim1 ! vector opt. 363 IF( gphif(ji,jj) .lt. zphi_drake_passage .and. fmask(ji,jj,1) == 0._wp ) THEN 364 fmask(ji,jj,:) = zshlat_antarc * MIN( 1._wp , MAX( zwf(ji+1,jj), zwf(ji,jj+1), & 365 & zwf(ji-1,jj), zwf(ji,jj-1) ) ) 366 ENDIF 367 END DO 368 END DO 369 END IF 370 ! 347 371 CALL lbc_lnk( fmask, 'F', 1._wp ) ! Lateral boundary conditions on fmask 348 372 !
Note: See TracChangeset
for help on using the changeset viewer.