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

Ignore:
Timestamp:
2009-07-23T16:38:47+02:00 (15 years ago)
Author:
rblod
Message:

Suppress rigid-lid option, see ticket #486

File:
1 edited

Legend:

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

    r1201 r1528  
    110110      !!        zcenu = centered flux = wn * mk(tn) 
    111111      !!         The surface boundary condition is : 
    112       !!      rigid-lid (lk_dynspg_frd = T) : zero advective flux 
    113       !!      free-surf (lk_dynspg_fsc = T) : wn(:,:,1) * tn(:,:,1) 
     112      !!      variable volume (lk_vvl = T) : zero advective flux 
     113      !!      lin. free-surf  (lk_vvl = F) : wn(:,:,1) * tn(:,:,1) 
    114114      !!         Add this trend now to the general trend of tracer (ta,sa): 
    115115      !!            (ta,sa) = (ta,sa) + ( zta , zsa ) 
     
    333333 
    334334      ! Surface value 
    335       IF( lk_dynspg_rl .OR. lk_vvl ) THEN 
    336          ! rigid lid or variable volume: flux set to zero 
     335      IF( lk_vvl ) THEN 
     336         ! variable volume: flux set to zero 
    337337         zwx(:,:, 1 ) = 0.e0    ;    zwy(:,:, 1 ) = 0.e0 
    338338      ELSE 
    339          ! free surface 
     339         ! free surface-constant volume 
    340340         zwx(:,:, 1 ) = pwn(:,:,1) * tn(:,:,1) 
    341341         zwy(:,:, 1 ) = pwn(:,:,1) * sn(:,:,1) 
Note: See TracChangeset for help on using the changeset viewer.