Changeset 1257 for palm/trunk/SOURCE/prandtl_fluxes.f90
- Timestamp:
- Nov 8, 2013 3:18:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prandtl_fluxes.f90
r1037 r1257 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! openACC "kernels do" replaced by "kernels loop", "loop independent" added 23 23 ! 24 24 ! Former revisions: … … 101 101 !-- for u* use the value from the previous time step 102 102 !$OMP PARALLEL DO 103 !$acc kernels do103 !$acc kernels loop 104 104 DO i = nxlg, nxrg 105 105 DO j = nysg, nyng … … 118 118 !-- (the Richardson number is still the one from the previous time step) 119 119 !$OMP PARALLEL DO PRIVATE( a, b, k, z_p ) 120 !$acc kernels do120 !$acc kernels loop 121 121 DO i = nxlg, nxrg 122 122 DO j = nysg, nyng … … 151 151 IF ( .NOT. humidity ) THEN 152 152 !$OMP PARALLEL DO PRIVATE( k, z_p ) 153 !$acc kernels do153 !$acc kernels loop 154 154 DO i = nxlg, nxrg 155 155 DO j = nysg, nyng … … 170 170 ELSE 171 171 !$OMP PARALLEL DO PRIVATE( k, z_p ) 172 !$acc kernels do172 !$acc kernels loop 173 173 DO i = nxlg, nxrg 174 174 DO j = nysg, nyng … … 193 193 !-- Compute u* at the scalars' grid points 194 194 !$OMP PARALLEL DO PRIVATE( a, b, k, uv_total, z_p ) 195 !$acc kernels do195 !$acc kernels loop 196 196 DO i = nxl, nxr 197 197 DO j = nys, nyn … … 243 243 !-- First compute the corresponding component of u* and square it. 244 244 !$OMP PARALLEL DO PRIVATE( a, b, k, rifm, z_p ) 245 !$acc kernels do245 !$acc kernels loop 246 246 DO i = nxl, nxr 247 247 DO j = nys, nyn … … 281 281 !-- First compute the corresponding component of u* and square it. 282 282 !$OMP PARALLEL DO PRIVATE( a, b, k, rifm, z_p ) 283 !$acc kernels do283 !$acc kernels loop 284 284 DO i = nxl, nxr 285 285 DO j = nys, nyn … … 322 322 !-- For a given water flux in the Prandtl layer: 323 323 !$OMP PARALLEL DO 324 !$acc kernels do324 !$acc kernels loop 325 325 DO i = nxlg, nxrg 326 326 DO j = nysg, nyng … … 332 332 coupled_run = ( coupling_mode == 'atmosphere_to_ocean' .AND. run_coupled ) 333 333 !$OMP PARALLEL DO PRIVATE( a, b, k, z_p ) 334 !$acc kernels do334 !$acc kernels loop independent 335 335 DO i = nxlg, nxrg 336 !$acc loop independent 336 337 DO j = nysg, nyng 337 338 … … 387 388 IF ( .NOT. constant_heatflux ) THEN 388 389 !$OMP PARALLEL DO 389 !$acc kernels do 390 DO i = nxlg, nxrg 390 !$acc kernels loop independent 391 DO i = nxlg, nxrg 392 !$acc loop independent 391 393 DO j = nysg, nyng 392 394 shf(j,i) = -ts(j,i) * us(j,i) … … 399 401 IF ( .NOT. constant_waterflux .AND. ( humidity .OR. passive_scalar ) ) THEN 400 402 !$OMP PARALLEL DO 401 !$acc kernels do 402 DO i = nxlg, nxrg 403 !$acc kernels loop independent 404 DO i = nxlg, nxrg 405 !$acc loop independent 403 406 DO j = nysg, nyng 404 407 qsws(j,i) = -qs(j,i) * us(j,i) … … 411 414 IF ( ibc_e_b == 2 ) THEN 412 415 !$OMP PARALLEL DO 413 !$acc kernels do 414 DO i = nxlg, nxrg 416 !$acc kernels loop independent 417 DO i = nxlg, nxrg 418 !$acc loop independent 415 419 DO j = nysg, nyng 416 420 e(nzb_s_inner(j,i)+1,j,i) = ( us(j,i) / 0.1 )**2
Note: See TracChangeset
for help on using the changeset viewer.