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 359 for trunk/NEMO/OPA_SRC/TRA/traadv_tvd.F90 – NEMO

Ignore:
Timestamp:
2005-12-21T11:46:45+01:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_update_033 : RB + CT : Add new surface pressure gradient algorithms

File:
1 edited

Legend:

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

    r282 r359  
    1717   USE trdmod_oce      ! ocean variables trends 
    1818   USE in_out_manager  ! I/O manager 
    19    USE dynspg_fsc      ! surface pressure gradient  
    20    USE dynspg_fsc_atsk ! autotasked surface pressure gradient 
     19   USE dynspg          ! choice/control of key cpp for surface pressure gradient 
    2120   USE trabbl          ! Advective term of BBL 
    2221   USE lib_mpp 
     
    6564      !!   8.5  !  02-06  (G. Madec)  F90: Free form and module 
    6665      !!   9.0  !  04-01  (A. de Miranda, G. Madec, J.M. Molines ): advective bbl 
    67       !!   9.0  !  08-04  (S. Cravatte) add the i-, j- & k- trends computation 
     66      !!    "   !  08-04  (S. Cravatte) add the i-, j- & k- trends computation 
     67      !!    "   !  05-11  (V. Garnier) Surface pressure gradient organization 
    6868      !!---------------------------------------------------------------------- 
    6969      !! * Modules used 
     
    159159      ! upstream tracer flux in the k direction 
    160160      ! Surface value 
    161       IF( lk_dynspg_fsc .OR. lk_dynspg_fsc_tsk ) THEN   ! free surface-constant volume 
     161      IF( lk_dynspg_rl ) THEN          ! rigid lid : flux set to zero 
     162         ztw(:,:,1) = 0.e0 
     163         zsw(:,:,1) = 0.e0 
     164      ELSE                 ! free surface 
    162165         DO jj = 1, jpj 
    163166            DO ji = 1, jpi 
     
    167170            END DO 
    168171         END DO 
    169       ELSE                                              ! rigid lid : flux set to zero 
    170          ztw(:,:,1) = 0.e0 
    171          zsw(:,:,1) = 0.e0 
    172172      ENDIF 
    173173 
Note: See TracChangeset for help on using the changeset viewer.