- Timestamp:
- 2018-11-07T18:25:49+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9866_HPC_03_globcom/src/OCE/SBC/sbcmod.F90
r9656 r10288 46 46 USE sbcfwb ! surface boundary condition: freshwater budget 47 47 USE icbstp ! Icebergs 48 USE icb_oce , ONLY : ln_passive_mode ! iceberg interaction mode 48 49 USE traqsr ! active tracers: light penetration 49 50 USE sbcwave ! Wave module … … 68 69 69 70 !!---------------------------------------------------------------------- 70 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 71 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 71 72 !! $Id$ 72 !! Software governed by the CeCILL licen ce (./LICENSE)73 !! Software governed by the CeCILL license (see ./LICENSE) 73 74 !!---------------------------------------------------------------------- 74 75 CONTAINS … … 156 157 WRITE(numout,*) ' wave modified ocean stress component ln_tauw = ', ln_tauw 157 158 WRITE(numout,*) ' Stokes coriolis term ln_stcor = ', ln_stcor 158 WRITE(numout,*) ' neutral drag coefficient (CORE, MFS) ln_cdgw = ', ln_cdgw 159 ENDIF 160 ! 159 WRITE(numout,*) ' neutral drag coefficient (CORE,NCAR) ln_cdgw = ', ln_cdgw 160 ENDIF 161 ! 162 IF( .NOT.ln_wave ) THEN 163 ln_sdw = .false. ; ln_cdgw = .false. ; ln_tauwoc = .false. ; ln_tauw = .false. ; ln_stcor = .false. 164 ENDIF 161 165 IF( ln_sdw ) THEN 162 166 IF( .NOT.(nn_sdrift==jp_breivik_2014 .OR. nn_sdrift==jp_li_2017 .OR. nn_sdrift==jp_peakfr) ) & … … 432 436 END SELECT 433 437 434 IF( ln_icebergs ) CALL icb_stp( kt ) ! compute icebergs 438 IF( ln_icebergs ) THEN 439 CALL icb_stp( kt ) ! compute icebergs 440 ! icebergs may advect into haloes during the icb step and alter emp. 441 ! A lbc_lnk is necessary here to ensure restartability (#2113) 442 IF( .NOT. ln_passive_mode ) CALL lbc_lnk( emp, 'T', 1. ) ! ensure restartability with icebergs 443 ENDIF 435 444 436 445 IF( ln_isf ) CALL sbc_isf( kt ) ! compute iceshelves
Note: See TracChangeset
for help on using the changeset viewer.