Changeset 108 for palm/trunk/SOURCE/production_e.f90
- Timestamp:
- Aug 24, 2007 3:10:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/production_e.f90
r106 r108 8 8 ! u_0 and v_0 are calculated for nxr+1, nyn+1 also (otherwise these values are 9 9 ! not available in case of non-cyclic boundary conditions) 10 ! Bugfix for ocean density flux at bottom 10 11 ! 11 12 ! Former revisions: … … 810 811 !-- So far in the ocean no special treatment of density flux in the 811 812 !-- bottom and top surface layer 812 DO k = nzb_s_inner(j,i), nzt 813 k= nzb_s_inner(j,i) 814 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / prho_reference * & 815 ( rho(k+1,j,i) - rho(k,j,i) ) * dzu(k+1) 816 DO k = nzb_s_inner(j,i)+1, nzt 813 817 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / prho_reference * & 814 818 ( rho(k+1,j,i) - rho(k-1,j,i) ) * dd2zu(k)
Note: See TracChangeset
for help on using the changeset viewer.