New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7099 for branches/UKMO/r5518_INGV1_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2016-10-25T18:15:30+02:00 (8 years ago)
Author:
jcastill
Message:

Changes as in r7078 of the original ING branch: branches/2015/dev_r5936_INGV1_WAVE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r5518_INGV1_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r5501 r7099  
    8989         &             ln_blk_mfs, ln_apr_dyn, nn_ice, nn_ice_embd, ln_dm2dc   , ln_rnf   ,   & 
    9090         &             ln_ssr    , nn_isf    , nn_fwb, ln_cdgw    , ln_wave    , ln_sdw   ,   & 
    91          &             nn_lsm    , nn_limflx , nn_components, ln_cpl 
     91         &             ln_tauoc  , ln_stcor  , nn_lsm, nn_limflx  , nn_components, ln_cpl  
    9292      INTEGER  ::   ios 
    9393      INTEGER  ::   ierr, ierr0, ierr1, ierr2, ierr3, jpm 
     
    381381      END SELECT 
    382382 
     383      IF (ln_wave .AND. ln_tauoc) THEN  
     384            utau(:,:) = utau(:,:)*tauoc_wave(:,:)  
     385            vtau(:,:) = vtau(:,:)*tauoc_wave(:,:)  
     386            taum(:,:) = taum(:,:)*tauoc_wave(:,:)  
     387      !  
     388            SELECT CASE( nsbc )  
     389            CASE(  0,1,2,3,5,-1 )  ;  
     390                IF(lwp) WRITE(numout,*) 'WARNING: You are subtracting the wave stress to the ocean. &  
     391                        & If not requested select ln_tauoc=.false'  
     392            END SELECT  
     393      !  
     394      END IF  
    383395      IF( ln_mixcpl )        CALL sbc_cpl_rcv ( kt, nn_fsbc, nn_ice )   ! forced-coupled mixed formulation after forcing 
    384396 
Note: See TracChangeset for help on using the changeset viewer.