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

Ignore:
Timestamp:
2017-01-25T13:01:38+01:00 (7 years ago)
Author:
jcastill
Message:

Fix some bugs introduced due to particularities of the branch revision; make some small improvements

File:
1 edited

Legend:

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

    r7600 r7606  
    347347         wsd(:,:,:) = 0._wp 
    348348         ! Wave number needed only if ln_zdfqiao=T 
    349          IF( .NOT. cpl_wnum ) THEN 
     349         IF( ln_zdfqiao .AND. .NOT.cpl_wnum ) THEN 
    350350            ALLOCATE( sf_wn(1), STAT=ierror )           !* allocate and fill sf_wave with sn_wnum 
    351351            IF( ierror > 0 )   CALL ctl_stop( 'STOP', 'sbc_wave_init: unable toallocate sf_wave structure' ) 
Note: See TracChangeset for help on using the changeset viewer.