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 27 for trunk/NEMO/OPA_SRC/LDF/ldftra.F90 – NEMO

Ignore:
Timestamp:
2004-02-17T10:07:54+01:00 (20 years ago)
Author:
opalod
Message:

CT : BUGFIX009 : Running problem for EEL5 configuration is solved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/LDF/ldftra.F90

    r3 r27  
    135135      ENDIF 
    136136 
    137       IF( .NOT. lk_sco ) THEN          ! horizontal = iso-level except in s-coordinate 
    138          ln_traldf_level = ln_traldf_level .OR. ln_traldf_hor 
     137      IF( lk_sco ) THEN          ! s-coordinates: rotation required for horizontal or isopycnal mixing 
     138         IF( ( ln_traldf_iso .OR. ln_traldf_hor ) .AND. .NOT.lk_ldfslp ) THEN 
     139            IF(lwp) WRITE(numout,cform_err) 
     140            IF(lwp) WRITE(numout,*) '          the rotation of the diffusive tensor require key_ldfslp' 
     141            IF( .NOT.lk_esopa )   nstop = nstop + 1 
     142         ENDIF 
     143      ELSE                       ! z-coordinates with/without partial step: 
     144         ln_traldf_level = ln_traldf_level .OR. ln_traldf_hor      ! level diffusion = horizontal diffusion 
    139145         ln_traldf_hor   = .FALSE. 
    140       ENDIF 
    141       IF( .NOT.lk_ldfslp .AND. ( ln_traldf_iso .OR. .NOT.ln_traldf_hor ) ) THEN 
    142          IF( .NOT.lk_esopa ) THEN 
     146         IF(lwp) WRITE(numout,*) '          horizontal mixing in z-coord or partial steps: force ln_traldf_level = T' 
     147         IF(lwp) WRITE(numout,*) '                                                  and    force ln_traldf_hor   = F' 
     148         IF( ln_traldf_iso .AND. .NOT.lk_ldfslp ) THEN             ! rotation required for isopycnal mixing 
    143149            IF(lwp) WRITE(numout,cform_err) 
    144150            IF(lwp) WRITE(numout,*) '          the rotation of the diffusive tensor require key_ldfslp' 
    145             nstop = nstop + 1 
     151            IF( .NOT.lk_esopa )   nstop = nstop + 1 
    146152         ENDIF 
    147153      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.