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 7797 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcwave.F90 – NEMO

Ignore:
Timestamp:
2017-03-15T10:44:35+01:00 (7 years ago)
Author:
jcastill
Message:

Changes as in parent branch at r7796

File:
1 edited

Legend:

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

    r7792 r7797  
    4343   LOGICAL, PUBLIC ::   cpl_wper   = .FALSE. 
    4444   LOGICAL, PUBLIC ::   cpl_wnum   = .FALSE. 
    45    LOGICAL, PUBLIC ::   cpl_wstrf  = .FALSE. 
     45   LOGICAL, PUBLIC ::   cpl_tauoc  = .FALSE. 
    4646   LOGICAL, PUBLIC ::   cpl_wdrag  = .FALSE. 
    4747 
     
    215215      ENDIF 
    216216 
    217       IF( ln_tauoc .AND. .NOT. cpl_wstrf ) THEN    !==  Wave induced stress  ==! 
     217      IF( ln_tauoc .AND. .NOT. cpl_tauoc ) THEN    !==  Wave induced stress  ==! 
    218218         CALL fld_read( kt, nn_fsbc, sf_tauoc )          ! read wave norm stress from external forcing 
    219219         tauoc_wave(:,:) = sf_tauoc(1)%fnow(:,:,1) 
     
    295295 
    296296      IF( ln_tauoc ) THEN 
    297          IF( .NOT. cpl_wstrf ) THEN 
     297         IF( .NOT. cpl_tauoc ) THEN 
    298298            ALLOCATE( sf_tauoc(1), STAT=ierror )           !* allocate and fill sf_wave with sn_tauoc 
    299299            IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_wave_init: unable to allocate sf_wave structure' ) 
Note: See TracChangeset for help on using the changeset viewer.