Changeset 1528 for trunk/NEMO/OPA_SRC/TRA/traadv_cen2.F90
- Timestamp:
- 2009-07-23T16:38:47+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/TRA/traadv_cen2.F90
r1201 r1528 110 110 !! zcenu = centered flux = wn * mk(tn) 111 111 !! The surface boundary condition is : 112 !! rigid-lid (lk_dynspg_frd= T) : zero advective flux113 !! 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) 114 114 !! Add this trend now to the general trend of tracer (ta,sa): 115 115 !! (ta,sa) = (ta,sa) + ( zta , zsa ) … … 333 333 334 334 ! Surface value 335 IF( lk_ dynspg_rl .OR. lk_vvl ) THEN336 ! rigid lid orvariable volume: flux set to zero335 IF( lk_vvl ) THEN 336 ! variable volume: flux set to zero 337 337 zwx(:,:, 1 ) = 0.e0 ; zwy(:,:, 1 ) = 0.e0 338 338 ELSE 339 ! free surface 339 ! free surface-constant volume 340 340 zwx(:,:, 1 ) = pwn(:,:,1) * tn(:,:,1) 341 341 zwy(:,:, 1 ) = pwn(:,:,1) * sn(:,:,1)
Note: See TracChangeset
for help on using the changeset viewer.