Changeset 2031 for palm/trunk/SOURCE/production_e.f90
- Timestamp:
- Oct 21, 2016 3:11:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/production_e.f90
r2001 r2031 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! renamed variable rho to rho_ocean 23 23 ! 24 24 ! Former revisions: … … 136 136 137 137 USE arrays_3d, & 138 ONLY: ddzw, dd2zu, kh, km, pt, q, ql, qsws, qswst, rho , shf, &138 ONLY: ddzw, dd2zu, kh, km, pt, q, ql, qsws, qswst, rho_ocean, shf, & 139 139 tend, tswst, u, v, vpt, w 140 140 … … 537 537 tend(k,j,i) = tend(k,j,i) + & 538 538 kh(k,j,i) * g / rho_reference * & 539 ( rho (k+1,j,i) - rho(k-1,j,i) ) * &539 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * & 540 540 dd2zu(k) 541 541 ENDDO … … 576 576 DO k = nzb_s_inner(j,i)+1, nzt 577 577 tend(k,j,i) = tend(k,j,i) + & 578 kh(k,j,i) * g / rho (k,j,i) * &579 ( rho (k+1,j,i) - rho(k-1,j,i) ) * &578 kh(k,j,i) * g / rho_ocean(k,j,i) * & 579 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * & 580 580 dd2zu(k) 581 581 ENDDO … … 742 742 743 743 USE arrays_3d, & 744 ONLY: ddzw, dd2zu, kh, km, pt, q, ql, qsws, qswst, rho , shf, &744 ONLY: ddzw, dd2zu, kh, km, pt, q, ql, qsws, qswst, rho_ocean, shf, & 745 745 tend, tswst, u, v, vpt, w 746 746 … … 806 806 !-- Calculate TKE production by shear 807 807 !$acc kernels present( ddzw, dd2zu, kh, km, nzb_diff_s_inner, nzb_diff_s_outer ) & 808 !$acc present( nzb_s_inner, pt, q, ql, qsws, qswst, rho ) &808 !$acc present( nzb_s_inner, pt, q, ql, qsws, qswst, rho_ocean ) & 809 809 !$acc present( shf, tend, tswst, u, v, vpt, w, wall_e_x, wall_e_y ) & 810 810 !$acc copyin( u_0, v_0 ) … … 1166 1166 tend(k,j,i) = tend(k,j,i) + & 1167 1167 kh(k,j,i) * g / rho_reference * & 1168 ( rho (k+1,j,i) - rho(k-1,j,i) ) * &1168 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * & 1169 1169 dd2zu(k) 1170 1170 ENDIF … … 1212 1212 IF ( k > nzb_s_inner(j,i) ) THEN 1213 1213 tend(k,j,i) = tend(k,j,i) + & 1214 kh(k,j,i) * g / rho (k,j,i) * &1215 ( rho (k+1,j,i) - rho(k-1,j,i) ) * &1214 kh(k,j,i) * g / rho_ocean(k,j,i) * & 1215 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * & 1216 1216 dd2zu(k) 1217 1217 ENDIF … … 1410 1410 1411 1411 USE arrays_3d, & 1412 ONLY: ddzw, dd2zu, kh, km, pt, q, ql, qsws, qswst, rho , shf, &1412 ONLY: ddzw, dd2zu, kh, km, pt, q, ql, qsws, qswst, rho_ocean, shf, & 1413 1413 tend, tswst, u, v, vpt, w 1414 1414 … … 1766 1766 tend(k,j,i) = tend(k,j,i) + & 1767 1767 kh(k,j,i) * g / rho_reference * & 1768 ( rho (k+1,j,i) - rho(k-1,j,i) ) * dd2zu(k)1768 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * dd2zu(k) 1769 1769 ENDDO 1770 1770 … … 1797 1797 DO k = nzb_s_inner(j,i)+1, nzt 1798 1798 tend(k,j,i) = tend(k,j,i) + & 1799 kh(k,j,i) * g / rho (k,j,i) * &1800 ( rho (k+1,j,i) - rho(k-1,j,i) ) * dd2zu(k)1799 kh(k,j,i) * g / rho_ocean(k,j,i) * & 1800 ( rho_ocean(k+1,j,i) - rho_ocean(k-1,j,i) ) * dd2zu(k) 1801 1801 ENDDO 1802 1802
Note: See TracChangeset
for help on using the changeset viewer.