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 9115 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2017-12-18T15:06:42+01:00 (6 years ago)
Author:
acc
Message:

Branch 2017/dev_merge_2017. Tidier version of sbcwave.F90 with associated changes in modules. References and schemes for Stokes drift parameterisations have been updated. Choices now are the original Breivik 2014 scheme and the latest Li et al 2017 scheme (which is based on the Breivik et al 2016 Phillips spectrum but with a depth averaged profile). This has been compiled but not yet tested. Also removed trailing spaces in lbc_lnk_multi_generic.h90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r9033 r9115  
    163163      ! 
    164164      IF( ln_sdw ) THEN 
    165          IF( .NOT.(nn_sdrift==jp_breivik .OR. nn_sdrift==jp_phillips .OR. nn_sdrift==jp_peakfr) ) & 
     165         IF( .NOT.(nn_sdrift==jp_breivik_2014 .OR. nn_sdrift==jp_li_2017 .OR. nn_sdrift==jp_peakfr) ) & 
    166166            CALL ctl_stop( 'The chosen nn_sdrift for Stokes drift vertical velocity must be 0, 1, or 2' ) 
    167167      ENDIF 
     168      ll_st_bv2014  = ( nn_sdrift==jp_breivik_2014 ) 
     169      ll_st_li2017  = ( nn_sdrift==jp_li_2017 ) 
     170      ll_st_bv_li   = ( ll_st_bv2014 .OR. ll_st_li2017 ) 
     171      ll_st_peakfr  = ( nn_sdrift==jp_peakfr ) 
    168172      IF( ln_tauwoc .AND. ln_tauw ) & 
    169173         CALL ctl_stop( 'More than one method for modifying the ocean stress has been selected ', & 
Note: See TracChangeset for help on using the changeset viewer.