Changeset 1221 for palm/trunk/SOURCE/advec_ws.f90
- Timestamp:
- Sep 10, 2013 8:59:13 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/advec_ws.f90
r1132 r1221 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! wall_flags_00 introduced, which holds bits 32-... 23 23 ! 24 24 ! Former revisions: … … 1648 1648 1649 1649 DO k = nzb+1, nzb_max 1650 ibit32 = IBITS(wall_flags_0 (k,j,i),32,1)1650 ibit32 = IBITS(wall_flags_00(k,j,i),0,1) 1651 1651 ibit31 = IBITS(wall_flags_0(k,j,i),31,1) 1652 1652 ibit30 = IBITS(wall_flags_0(k,j,i),30,1) … … 1808 1808 ) 1809 1809 1810 ibit32 = IBITS(wall_flags_0 (k,j,i),32,1)1810 ibit32 = IBITS(wall_flags_00(k,j,i),0,1) 1811 1811 ibit31 = IBITS(wall_flags_0(k,j,i),31,1) 1812 1812 ibit30 = IBITS(wall_flags_0(k,j,i),30,1) … … 1845 1845 !-- k index has to be modified near bottom and top, else array 1846 1846 !-- subscripts will be exceeded. 1847 ibit35 = IBITS(wall_flags_0 (k,j,i),35,1)1848 ibit34 = IBITS(wall_flags_0 (k,j,i),34,1)1849 ibit33 = IBITS(wall_flags_0 (k,j,i),33,1)1847 ibit35 = IBITS(wall_flags_00(k,j,i),3,1) 1848 ibit34 = IBITS(wall_flags_00(k,j,i),2,1) 1849 ibit33 = IBITS(wall_flags_00(k,j,i),1,1) 1850 1850 1851 1851 k_ppp = k + 3 * ibit35 … … 1942 1942 !-- k index has to be modified near bottom and top, else array 1943 1943 !-- subscripts will be exceeded. 1944 ibit35 = IBITS(wall_flags_0 (k,j,i),35,1)1945 ibit34 = IBITS(wall_flags_0 (k,j,i),34,1)1946 ibit33 = IBITS(wall_flags_0 (k,j,i),33,1)1944 ibit35 = IBITS(wall_flags_00(k,j,i),3,1) 1945 ibit34 = IBITS(wall_flags_00(k,j,i),2,1) 1946 ibit33 = IBITS(wall_flags_00(k,j,i),1,1) 1947 1947 1948 1948 k_ppp = k + 3 * ibit35 … … 2454 2454 ! 2455 2455 !-- Computation of fluxes and tendency terms 2456 !$acc kernels present( ddzw, sk, tend, u, v, w, wall_flags_0 )2456 !$acc kernels present( ddzw, sk, tend, u, v, w, wall_flags_0, wall_flags_00 ) 2457 2457 !$acc loop 2458 2458 DO i = i_left, i_right … … 3155 3155 ! 3156 3156 !-- Computation of fluxes and tendency terms 3157 !$acc kernels present( ddzw, tend, u, v, w, wall_flags_0 )3157 !$acc kernels present( ddzw, tend, u, v, w, wall_flags_0, wall_flags_00 ) 3158 3158 !$acc loop 3159 3159 DO i = i_left, i_right … … 3872 3872 ! 3873 3873 !-- Computation of fluxes and tendency terms 3874 !$acc kernels present( ddzw, tend, u, v, w, wall_flags_0 )3874 !$acc kernels present( ddzw, tend, u, v, w, wall_flags_0, wall_flags_00 ) 3875 3875 !$acc loop 3876 3876 DO i = i_left, i_right … … 4226 4226 DO k = nzb+1, nzb_max 4227 4227 4228 ibit32 = IBITS(wall_flags_0 (k,j,i),32,1)4228 ibit32 = IBITS(wall_flags_00(k,j,i),0,1) 4229 4229 ibit31 = IBITS(wall_flags_0(k,j,i),31,1) 4230 4230 ibit30 = IBITS(wall_flags_0(k,j,i),30,1) … … 4327 4327 ) 4328 4328 4329 ibit32 = IBITS(wall_flags_0 (k,j,i),32,1)4329 ibit32 = IBITS(wall_flags_00(k,j,i),0,1) 4330 4330 ibit31 = IBITS(wall_flags_0(k,j,i),31,1) 4331 4331 ibit30 = IBITS(wall_flags_0(k,j,i),30,1) … … 4364 4364 !-- k index has to be modified near bottom and top, else array 4365 4365 !-- subscripts will be exceeded. 4366 ibit35 = IBITS(wall_flags_0 (k,j,i),35,1)4367 ibit34 = IBITS(wall_flags_0 (k,j,i),34,1)4368 ibit33 = IBITS(wall_flags_0 (k,j,i),33,1)4366 ibit35 = IBITS(wall_flags_00(k,j,i),3,1) 4367 ibit34 = IBITS(wall_flags_00(k,j,i),2,1) 4368 ibit33 = IBITS(wall_flags_00(k,j,i),1,1) 4369 4369 4370 4370 k_ppp = k + 3 * ibit35 … … 4463 4463 !-- k index has to be modified near bottom and top, else array 4464 4464 !-- subscripts will be exceeded. 4465 ibit35 = IBITS(wall_flags_0 (k,j,i),35,1)4466 ibit34 = IBITS(wall_flags_0 (k,j,i),34,1)4467 ibit33 = IBITS(wall_flags_0 (k,j,i),33,1)4465 ibit35 = IBITS(wall_flags_00(k,j,i),3,1) 4466 ibit34 = IBITS(wall_flags_00(k,j,i),2,1) 4467 ibit33 = IBITS(wall_flags_00(k,j,i),1,1) 4468 4468 4469 4469 k_ppp = k + 3 * ibit35 … … 4565 4565 gv = 2.0 * v_gtrans 4566 4566 4567 4567 4568 ! 4568 4569 !-- Computation of fluxes and tendency terms 4569 !$acc kernels present( ddzu, tend, u, v, w, wall_flags_0 )4570 !$acc kernels present( ddzu, tend, u, v, w, wall_flags_0, wall_flags_00 ) 4570 4571 !$acc loop 4571 4572 DO i = i_left, i_right … … 4574 4575 DO k = nzb+1, nzt 4575 4576 4577 ibit27 = IBITS(wall_flags_0(k,j,i),27,1) 4578 ibit28 = IBITS(wall_flags_0(k,j,i),28,1) 4576 4579 ibit29 = IBITS(wall_flags_0(k,j,i),29,1) 4577 ibit28 = IBITS(wall_flags_0(k,j,i),28,1)4578 ibit27 = IBITS(wall_flags_0(k,j,i),27,1)4579 4580 4580 4581 4581 u_comp_l = u(k+1,j,i) + u(k,j,i) - gu … … 4640 4640 ( w(k,j,i+3) - w(k,j,i-2) ) & 4641 4641 ) 4642 4643 ibit32 = IBITS(wall_flags_0(k,j,i),32,1) 4642 ibit32 = IBITS(wall_flags_00(k,j,i),0,1) 4644 4643 ibit31 = IBITS(wall_flags_0(k,j,i),31,1) 4645 4644 ibit30 = IBITS(wall_flags_0(k,j,i),30,1) … … 4707 4706 ) 4708 4707 4709 4710 ibit35 = IBITS(wall_flags_0(k-1,j,i),35,1) 4711 ibit34 = IBITS(wall_flags_0(k-1,j,i),34,1) 4712 ibit33 = IBITS(wall_flags_0(k-1,j,i),33,1) 4708 ibit35 = IBITS(wall_flags_00(k-1,j,i),3,1) 4709 ibit34 = IBITS(wall_flags_00(k-1,j,i),2,1) 4710 ibit33 = IBITS(wall_flags_00(k-1,j,i),1,1) 4713 4711 4714 4712 k_pp = k + 2 * ibit35 … … 4750 4748 !-- k index has to be modified near bottom and top, else array 4751 4749 !-- subscripts will be exceeded. 4752 ibit35 = IBITS(wall_flags_0 (k,j,i),35,1)4753 ibit34 = IBITS(wall_flags_0 (k,j,i),34,1)4754 ibit33 = IBITS(wall_flags_0 (k,j,i),33,1)4750 ibit35 = IBITS(wall_flags_00(k,j,i),3,1) 4751 ibit34 = IBITS(wall_flags_00(k,j,i),2,1) 4752 ibit33 = IBITS(wall_flags_00(k,j,i),1,1) 4755 4753 4756 4754 k_ppp = k + 3 * ibit35
Note: See TracChangeset
for help on using the changeset viewer.