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 7906 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO – NEMO

Ignore:
Timestamp:
2017-04-13T15:43:46+02:00 (7 years ago)
Author:
jcastill
Message:

Move the variable nn_drag from the namelist namsbc_wave to namsbc, as it is used even when the wave science is deactivated (ln_wave=.false.)

Location:
branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

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

    r7905 r7906  
    8989         &             ln_blk_mfs, ln_apr_dyn, nn_ice, nn_ice_embd, ln_dm2dc   , ln_rnf   ,   & 
    9090         &             ln_ssr    , nn_isf    , nn_fwb, ln_wave    , nn_lsm     , nn_limflx,   & 
    91                        nn_components, ln_cpl , ln_wavcpl 
     91                       nn_components, ln_cpl , ln_wavcpl, nn_drag 
    9292      INTEGER  ::   ios 
    9393      INTEGER  ::   ierr, ierr0, ierr1, ierr2, ierr3, jpm 
     
    136136         WRITE(numout,*) '              components of your executable              nn_components = ', nn_components 
    137137         WRITE(numout,*) '              Multicategory heat flux formulation (LIM3) nn_limflx   = ', nn_limflx 
     138         WRITE(numout,*) '              momentum formulation                       nn_drag     = ', nn_drag 
    138139         WRITE(numout,*) '           Misc. options of sbc : ' 
    139140         WRITE(numout,*) '              Patm gradient added in ocean & ice Eqs.    ln_apr_dyn  = ', ln_apr_dyn 
  • branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcwave.F90

    r7905 r7906  
    350350      NAMELIST/namsbc_wave/  sn_cdg, cn_dir, sn_usd, sn_vsd, sn_hsw, sn_wmp, sn_wfr, sn_wnum, sn_tauoc, sn_phioc, & 
    351351                             ln_cdgw, ln_sdw, ln_stcor, ln_phioc, ln_tauoc, ln_zdfqiao, ln_rough,                 & 
    352                              nn_drag, nn_sdrift, nn_wmix 
     352                             nn_sdrift, nn_wmix 
    353353      !!--------------------------------------------------------------------- 
    354354      ! 
     
    374374         WRITE(numout,*) '        vertical mixing parametrization       nn_wmix     = ', nn_wmix  
    375375         WRITE(numout,*) '      neutral drag coefficient                ln_cdgw     = ', ln_cdgw 
    376          WRITE(numout,*) '        momentum formulation                  nn_drag     = ', nn_drag 
    377376         WRITE(numout,*) '      wave roughness length modification      ln_rough    = ', ln_rough  
    378377         WRITE(numout,*) '      Qiao vertical mixing formulation        ln_zdfqiao  = ', ln_zdfqiao 
Note: See TracChangeset for help on using the changeset viewer.