Changeset 474 for trunk/NEMO/OPA_SRC/TRA/traldf.F90
- Timestamp:
- 2006-05-11T17:24:19+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/TRA/traldf.F90
r458 r474 168 168 IF( ln_traldf_lap ) ioptio = ioptio + 1 169 169 IF( ln_traldf_bilap ) ioptio = ioptio + 1 170 IF( ioptio /= 1 ) THEN 171 IF(lwp) WRITE(numout,cform_err) 172 IF(lwp) WRITE(numout,*) ' use ONE of the 2 lap/bilap operator type on tracer' 173 nstop = nstop + 1 174 ENDIF 170 IF( ioptio /= 1 ) CALL ctl_stop( ' use ONE of the 2 lap/bilap operator type on tracer' ) 175 171 ioptio = 0 176 172 IF( ln_traldf_level ) ioptio = ioptio + 1 177 173 IF( ln_traldf_hor ) ioptio = ioptio + 1 178 174 IF( ln_traldf_iso ) ioptio = ioptio + 1 179 IF( ioptio /= 1 ) THEN 180 IF(lwp) WRITE(numout,cform_err) 181 IF(lwp) WRITE(numout,*) ' use only ONE direction (level/hor/iso)' 182 nstop = nstop + 1 183 ENDIF 175 IF( ioptio /= 1 ) CALL ctl_stop( ' use only ONE direction (level/hor/iso)' ) 184 176 185 177 ! defined the type of lateral diffusion from ln_traldf_... logicals … … 221 213 ENDIF 222 214 223 IF( ierr == 1 ) THEN 224 IF(lwp) WRITE(numout,cform_err) 225 IF(lwp) WRITE(numout,*) ' iso-level in z-coordinate - partial step, not allowed' 226 nstop = nstop + 1 227 ENDIF 228 IF( ierr == 2 ) THEN 229 IF(lwp) WRITE(numout,cform_err) 230 IF(lwp) WRITE(numout,*) ' isoneutral bilaplacian operator does not exist' 231 nstop = nstop + 1 232 ENDIF 233 IF( lk_traldf_eiv .AND. .NOT.ln_traldf_iso ) THEN 234 IF(lwp) WRITE(numout,*) ' eddy induced velocity on tracers' 235 IF(lwp) WRITE(numout,cform_err) 236 IF(lwp) WRITE(numout,*) ' the eddy induced velocity on tracers requires isopycnal laplacian diffusion' 237 nstop = nstop + 1 238 ENDIF 215 IF( ierr == 1 ) CALL ctl_stop( ' iso-level in z-coordinate - partial step, not allowed' ) 216 IF( ierr == 2 ) CALL ctl_stop( ' isoneutral bilaplacian operator does not exist' ) 217 IF( lk_traldf_eiv .AND. .NOT.ln_traldf_iso ) & 218 & CALL ctl_stop( ' eddy induced velocity on tracers', & 219 & ' the eddy induced velocity on tracers requires isopycnal laplacian diffusion' ) 239 220 IF( nldf == 1 .OR. nldf == 3 ) THEN ! rotation 240 IF( .NOT.lk_ldfslp ) THEN 241 IF(lwp) WRITE(numout,cform_err) 242 IF(lwp) WRITE(numout,*) ' the rotation of the diffusive tensor require key_ldfslp' 243 nstop = nstop + 1 244 ENDIF 221 IF( .NOT.lk_ldfslp ) CALL ctl_stop( ' the rotation of the diffusive tensor require key_ldfslp' ) 245 222 ENDIF 246 223 … … 320 297 va (:,:,:) = sa (:,:,:) 321 298 zavt (:,:,:) = avt(:,:,:) 322 IF( lk_zdfddm ) THEN 323 IF(lwp) WRITE(numout,cform_err) 324 IF(lwp) WRITE(numout,*) ' key_traldf_ano with key_zdfddm not implemented' 325 nstop = nstop + 1 326 ENDIF 299 IF( lk_zdfddm ) THEN CALL ctl_stop( ' key_traldf_ano with key_zdfddm not implemented' ) 327 300 ! set tb, sb to reference values and avr to zero 328 301 tb (:,:,:) = zt_ref(:,:,:)
Note: See TracChangeset
for help on using the changeset viewer.