Changeset 7646 for trunk/NEMOGCM/NEMO/LIM_SRC_2/limsbc_2.F90
- Timestamp:
- 2017-02-06T10:25:03+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_2/limsbc_2.F90
r6140 r7646 449 449 soce_0(:,:) = soce ! constant SSS and ice salinity used in levitating sea-ice case 450 450 sice_0(:,:) = sice 451 ! 452 IF( cp_cfg == "orca" ) THEN ! decrease ocean & ice reference salinities in the Baltic sea 453 WHERE( 14._wp <= glamt(:,:) .AND. glamt(:,:) <= 32._wp .AND. & 454 & 54._wp <= gphit(:,:) .AND. gphit(:,:) <= 66._wp ) 455 soce_0(:,:) = 4._wp 456 sice_0(:,:) = 2._wp 457 END WHERE 458 ENDIF 451 ! ! decrease ocean & ice reference salinities in the Baltic sea 452 WHERE( 14._wp <= glamt(:,:) .AND. glamt(:,:) <= 32._wp .AND. & 453 & 54._wp <= gphit(:,:) .AND. gphit(:,:) <= 66._wp ) 454 soce_0(:,:) = 4._wp 455 sice_0(:,:) = 2._wp 456 END WHERE 459 457 ! ! embedded sea ice 460 458 IF( nn_ice_embd /= 0 ) THEN ! mass exchanges between ice and ocean (case 1 or 2) set the snow+ice mass … … 473 471 !!gm 474 472 IF( .NOT.ln_linssh ) THEN 475 476 do jk = 1,jpkm1 ! adjust initial vertical scale factors 473 DO jk = 1,jpkm1 ! adjust initial vertical scale factors 477 474 e3t_n(:,:,jk) = e3t_0(:,:,jk)*( 1._wp + sshn(:,:)*tmask(:,:,1)/(ht_0(:,:) + 1.0 - tmask(:,:,1)) ) 478 475 e3t_b(:,:,jk) = e3t_0(:,:,jk)*( 1._wp + sshb(:,:)*tmask(:,:,1)/(ht_0(:,:) + 1.0 - tmask(:,:,1)) ) 479 end do476 END DO 480 477 e3t_a(:,:,:) = e3t_b(:,:,:) 481 478 ! Reconstruction of all vertical scale factors at now and before time steps
Note: See TracChangeset
for help on using the changeset viewer.