Changeset 124 for palm/trunk/SOURCE/production_e.f90
- Timestamp:
- Oct 19, 2007 3:47:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/production_e.f90
r110 r124 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: calculation of density flux in the ocean now starts from nzb+1 7 7 ! 8 8 ! Former revisions: … … 382 382 !-- the bottom and top surface layer 383 383 DO j = nys, nyn 384 DO k = nzb_s_inner(j,i) , nzt384 DO k = nzb_s_inner(j,i)+1, nzt 385 385 tend(k,j,i) = tend(k,j,i) + & 386 386 kh(k,j,i) * g / prho_reference * & … … 419 419 !-- the bottom and top surface layer 420 420 DO j = nys, nyn 421 DO k = nzb_s_inner(j,i) , nzt421 DO k = nzb_s_inner(j,i)+1, nzt 422 422 tend(k,j,i) = tend(k,j,i) - & 423 423 kh(k,j,i) * g / rho(k,j,i) * & … … 814 814 !-- So far in the ocean no special treatment of density flux in the 815 815 !-- bottom and top surface layer 816 k= nzb_s_inner(j,i)817 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / prho_reference * &818 ( rho(k+1,j,i) - rho(k,j,i) ) * dzu(k+1)819 816 DO k = nzb_s_inner(j,i)+1, nzt 820 817 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / prho_reference * & … … 847 844 !-- So far in the ocean no special treatment of density flux in the 848 845 !-- bottom and top surface layer 849 DO k = nzb_s_inner(j,i) , nzt846 DO k = nzb_s_inner(j,i)+1, nzt 850 847 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / rho(k,j,i) * & 851 848 ( rho(k+1,j,i) - rho(k-1,j,i) ) * dd2zu(k)
Note: See TracChangeset
for help on using the changeset viewer.