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 620 for trunk/NEMO/OPA_SRC – NEMO

Changeset 620 for trunk/NEMO/OPA_SRC


Ignore:
Timestamp:
2007-02-22T08:57:39+01:00 (17 years ago)
Author:
opalod
Message:

nemo_v2_update_005 : CT : allow to run without horizontal diffusion in setting ln_traldf_lap & ln_traldf_bilap logicals to .false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/traldf.F90

    r503 r620  
    150150      IF( ln_traldf_lap   )   ioptio = ioptio + 1 
    151151      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 
    153154      ioptio = 0 
    154155      IF( ln_traldf_level )   ioptio = ioptio + 1 
     
    159160      ! defined the type of lateral diffusion from ln_traldf_... logicals 
    160161      ierr = 0 
    161       IF ( ln_traldf_lap ) THEN      ! laplacian operator 
     162      IF( ln_traldf_lap ) THEN       ! laplacian operator 
    162163         IF ( ln_zco ) THEN                ! z-coordinate 
    163164            IF ( ln_traldf_level )   nldf = 0      ! iso-level  (no rotation) 
     
    211212      IF(lwp) THEN 
    212213         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' 
    218220      ENDIF 
    219221 
Note: See TracChangeset for help on using the changeset viewer.