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 3284 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/TRA/traldf.F90 – NEMO

Ignore:
Timestamp:
2012-01-27T14:21:11+01:00 (12 years ago)
Author:
rblod
Message:

Correct control if no diffusion, see ticket #835

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/TRA/traldf.F90

    r3186 r3284  
    163163      IF( ln_traldf_hor   )   ioptio = ioptio + 1 
    164164      IF( ln_traldf_iso   )   ioptio = ioptio + 1 
    165       IF( ioptio /= 1 )   CALL ctl_stop( '          use only ONE direction (level/hor/iso)' ) 
     165      IF( ioptio > 1 )   CALL ctl_stop( '          use only ONE direction (level/hor/iso)' ) 
    166166 
    167167      ! defined the type of lateral diffusion from ln_traldf_... logicals 
Note: See TracChangeset for help on using the changeset viewer.