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/DYN/dynldf.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/DYN/dynldf.F90

    r3186 r3284  
    150150      IF( ln_dynldf_hor   )   ioptio = ioptio + 1 
    151151      IF( ln_dynldf_iso   )   ioptio = ioptio + 1 
    152       IF( ioptio /= 1 ) CALL ctl_stop( '          use only ONE direction (level/hor/iso)' ) 
     152      IF( ioptio > 1 ) CALL ctl_stop( '          use only ONE direction (level/hor/iso)' ) 
    153153 
    154154      !                                   ! Set nldf, the type of lateral diffusion, from ln_dynldf_... logicals 
Note: See TracChangeset for help on using the changeset viewer.