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 5983 for branches/2015/dev_r5936_INGV1_WAVE/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2015-12-02T17:12:45+01:00 (8 years ago)
Author:
emanuelaclementi
Message:

ticket #1643 Aligned branch INGV1-WAVE at trunk revision 5936

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5936_INGV1_WAVE/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r5836 r5983  
    8888         &             ln_blk_mfs, ln_apr_dyn, nn_ice, nn_ice_embd, ln_dm2dc   , ln_rnf   ,   & 
    8989         &             ln_ssr    , nn_isf    , nn_fwb, ln_cdgw    , ln_wave    , ln_sdw   ,   & 
    90          &             nn_lsm    , nn_limflx , nn_components, ln_cpl 
     90         &             ln_tauoc  , ln_stcor  , nn_lsm, nn_limflx  , nn_components, ln_cpl  
    9191      INTEGER  ::   ios 
    9292      INTEGER  ::   ierr, ierr0, ierr1, ierr2, ierr3, jpm 
     
    360360                             CALL sbc_cpl_rcv ( kt, nn_fsbc, nn_ice )   ! OPA-SAS coupling: OPA receiving fields from SAS 
    361361      END SELECT 
    362  
     362      IF (ln_wave .AND. ln_tauoc) THEN 
     363            utau(:,:) = utau(:,:)*tauoc_wave(:,:) 
     364            vtau(:,:) = vtau(:,:)*tauoc_wave(:,:) 
     365            taum(:,:) = taum(:,:)*tauoc_wave(:,:) 
     366      ! 
     367            SELECT CASE( nsbc ) 
     368            CASE(  0,1,2,3,5,-1 )  ; 
     369                IF(lwp) WRITE(numout,*) 'WARNING: You are subtracting the wave stress to the ocean. & 
     370                        & If not requested select ln_tauoc=.false' 
     371            END SELECT 
     372      ! 
     373      END IF 
    363374      IF( ln_mixcpl )        CALL sbc_cpl_rcv ( kt, nn_fsbc, nn_ice )   ! forced-coupled mixed formulation after forcing 
    364375 
Note: See TracChangeset for help on using the changeset viewer.