Changeset 620 for trunk/NEMO/OPA_SRC
- Timestamp:
- 2007-02-22T08:57:39+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/TRA/traldf.F90
r503 r620 150 150 IF( ln_traldf_lap ) ioptio = ioptio + 1 151 151 IF( ln_traldf_bilap ) ioptio = ioptio + 1 152 IF( ioptio /= 1 ) CALL ctl_stop( ' use ONE of the 2 lap/bilap operator type on tracer' ) 152 IF( ioptio > 1 ) CALL ctl_stop( ' use ONE or NONE of the 2 lap/bilap operator type on tracer' ) 153 IF( ioptio == 0 ) nldf = -2 ! No lateral diffusion 153 154 ioptio = 0 154 155 IF( ln_traldf_level ) ioptio = ioptio + 1 … … 159 160 ! defined the type of lateral diffusion from ln_traldf_... logicals 160 161 ierr = 0 161 IF ( ln_traldf_lap ) THEN! laplacian operator162 IF( ln_traldf_lap ) THEN ! laplacian operator 162 163 IF ( ln_zco ) THEN ! z-coordinate 163 164 IF ( ln_traldf_level ) nldf = 0 ! iso-level (no rotation) … … 211 212 IF(lwp) THEN 212 213 WRITE(numout,*) 213 IF( nldf == -1 ) WRITE(numout,*) ' ESOPA test All scheme used' 214 IF( nldf == 0 ) WRITE(numout,*) ' laplacian operator' 215 IF( nldf == 1 ) WRITE(numout,*) ' Rotated laplacian operator' 216 IF( nldf == 2 ) WRITE(numout,*) ' bilaplacian operator' 217 IF( nldf == 3 ) WRITE(numout,*) ' Rotated bilaplacian' 214 IF( nldf == -2 ) WRITE(numout,*) ' NO lateral diffusion' 215 IF( nldf == -1 ) WRITE(numout,*) ' ESOPA test All scheme used' 216 IF( nldf == 0 ) WRITE(numout,*) ' laplacian operator' 217 IF( nldf == 1 ) WRITE(numout,*) ' Rotated laplacian operator' 218 IF( nldf == 2 ) WRITE(numout,*) ' bilaplacian operator' 219 IF( nldf == 3 ) WRITE(numout,*) ' Rotated bilaplacian' 218 220 ENDIF 219 221
Note: See TracChangeset
for help on using the changeset viewer.