Changeset 474 for trunk/NEMO/OPA_SRC/DYN/dynldf.F90
- Timestamp:
- 2006-05-11T17:24:19+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DYN/dynldf.F90
r456 r474 152 152 IF( ln_dynldf_lap ) ioptio = ioptio + 1 153 153 IF( ln_dynldf_bilap ) ioptio = ioptio + 1 154 IF( ioptio /= 1 ) THEN 155 IF(lwp) WRITE(numout,cform_err) 156 IF(lwp) WRITE(numout,*) ' use ONE of the 2 lap/bilap operator type on dynamics' 157 nstop = nstop + 1 158 ENDIF 154 IF( ioptio /= 1 ) CALL ctl_stop( ' use ONE of the 2 lap/bilap operator type on dynamics' ) 159 155 ioptio = 0 160 156 IF( ln_dynldf_level ) ioptio = ioptio + 1 161 157 IF( ln_dynldf_hor ) ioptio = ioptio + 1 162 158 IF( ln_dynldf_iso ) ioptio = ioptio + 1 163 IF( ioptio /= 1 ) THEN 164 IF(lwp) WRITE(numout,cform_err) 165 IF(lwp) WRITE(numout,*) ' use only ONE direction (level/hor/iso)' 166 nstop = nstop + 1 167 ENDIF 159 IF( ioptio /= 1 ) CALL ctl_stop( ' use only ONE direction (level/hor/iso)' ) 168 160 169 161 ! defined the type of lateral diffusion from ln_dynldf_... logicals … … 205 197 ENDIF 206 198 207 IF( ierr == 1 ) THEN 208 IF(lwp) WRITE(numout,cform_err) 209 IF(lwp) WRITE(numout,*) ' iso-level in z-coordinate - partial step, not allowed' 210 nstop = nstop + 1 211 ENDIF 212 IF( ierr == 2 ) THEN 213 IF(lwp) WRITE(numout,cform_err) 214 IF(lwp) WRITE(numout,*) ' isoneutral bilaplacian operator does not exist' 215 nstop = nstop + 1 216 ENDIF 199 IF( ierr == 1 ) & 200 & CALL ctl_stop( ' iso-level in z-coordinate - partial step, not allowed' ) 201 IF( ierr == 2 ) & 202 & CALL ctl_stop( ' isoneutral bilaplacian operator does not exist' ) 217 203 IF( nldf == 1 .OR. nldf == 3 ) THEN ! rotation 218 IF( .NOT.lk_ldfslp ) THEN 219 IF(lwp) WRITE(numout,cform_err) 220 IF(lwp) WRITE(numout,*) ' the rotation of the diffusive tensor require key_ldfslp' 221 nstop = nstop + 1 222 ENDIF 204 IF( .NOT.lk_ldfslp ) & 205 & CALL ctl_stop( ' the rotation of the diffusive tensor require key_ldfslp' ) 223 206 ENDIF 224 207
Note: See TracChangeset
for help on using the changeset viewer.