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

Ignore:
Timestamp:
2017-12-14T11:29:10+01:00 (6 years ago)
Author:
timgraham
Message:

Commit final files from merge of NEMOGCM and some fixes for waves (taooc renamed tauwoc)

File:
1 edited

Legend:

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

    r9019 r9033  
    236236      IF ( ln_wave ) THEN 
    237237      !Activated wave module but neither drag nor stokes drift activated 
    238          IF ( .NOT.(ln_cdgw .OR. ln_sdw .OR. ln_tauoc .OR. ln_stcor ) )   THEN 
    239             CALL ctl_warn( 'Ask for wave coupling but ln_cdgw=F, ln_sdw=F, ln_tauoc=F, ln_stcor=F') 
     238         IF ( .NOT.(ln_cdgw .OR. ln_sdw .OR. ln_tauwoc .OR. ln_stcor ) )   THEN 
     239            CALL ctl_warn( 'Ask for wave coupling but ln_cdgw=F, ln_sdw=F, ln_tauwoc=F, ln_stcor=F') 
    240240      !drag coefficient read from wave model definable only with mfs bulk formulae and core  
    241241         ELSEIF (ln_cdgw .AND. .NOT. ln_NCAR )       THEN        
     
    245245         ENDIF 
    246246      ELSE 
    247       IF ( ln_cdgw .OR. ln_sdw .OR. ln_tauoc .OR. ln_stcor )                &  
     247      IF ( ln_cdgw .OR. ln_sdw .OR. ln_tauwoc .OR. ln_stcor )                &  
    248248         &   CALL ctl_stop( 'Not Activated Wave Module (ln_wave=F) but asked coupling ',    & 
    249249         &                  'with drag coefficient (ln_cdgw =T) '  ,                        & 
    250250         &                  'or Stokes Drift (ln_sdw=T) ' ,                                 & 
    251          &                  'or ocean stress modification due to waves (ln_tauoc=T) ',      &   
     251         &                  'or ocean stress modification due to waves (ln_tauwoc=T) ',      &   
    252252         &                  'or Stokes-Coriolis term (ln_stcori=T)'  ) 
    253253      ENDIF  
Note: See TracChangeset for help on using the changeset viewer.