Changeset 27 for trunk/NEMO/OPA_SRC/LDF/ldftra.F90
- Timestamp:
- 2004-02-17T10:07:54+01:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/LDF/ldftra.F90
r3 r27 135 135 ENDIF 136 136 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 139 145 ln_traldf_hor = .FALSE. 140 ENDIF141 IF( .NOT.lk_ldfslp .AND. ( ln_traldf_iso .OR. .NOT.ln_traldf_hor ) ) THEN142 IF( .NOT.lk_esopa ) THEN146 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 143 149 IF(lwp) WRITE(numout,cform_err) 144 150 IF(lwp) WRITE(numout,*) ' the rotation of the diffusive tensor require key_ldfslp' 145 nstop = nstop + 1151 IF( .NOT.lk_esopa ) nstop = nstop + 1 146 152 ENDIF 147 153 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.