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 7879 – NEMO

Changeset 7879


Ignore:
Timestamp:
2017-04-06T10:58:07+02:00 (7 years ago)
Author:
frrh
Message:

Apply another missing change from the vn 3.6 STABLE branch.

Command used:

svn merge -r6477:6482 svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2015/nemo_v3_6_STABLE/NEMOGCM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_test_GO6_package_update/NEMOGCM/NEMO/OPA_SRC/TRA/eosbn2.F90

    r6793 r7879  
    12581258      ENDIF 
    12591259      ! 
     1260      ! Consistency check on ln_useCT and nn_eos 
     1261      IF ((nn_eos .EQ. -1) .AND. (.NOT. ln_useCT)) THEN 
     1262         CALL ctl_stop("ln_useCT should be set to True if using TEOS-10 (nn_eos=-1)") 
     1263      ELSE IF ((nn_eos .NE. -1) .AND. (ln_useCT)) THEN 
     1264         CALL ctl_stop("ln_useCT should be set to False if using TEOS-80 or simplified equation of state (nn_eos=0 or nn_eos=1)") 
     1265      ENDIF 
     1266      ! 
    12601267      SELECT CASE( nn_eos )         ! check option 
    12611268      ! 
Note: See TracChangeset for help on using the changeset viewer.