Skip to content

Commit 2e993c5

Browse files
committed
Removing scalars from private clause and reverting exponent operation
1 parent c1a4f70 commit 2e993c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/core_atmosphere/dynamics/mpas_atm_time_integration.F

+2-4
Original file line numberDiff line numberDiff line change
@@ -6623,14 +6623,12 @@ subroutine atm_bdy_adjust_dynamics_relaxzone_tend( config, tend, state, diag, me
66236623

66246624
! Third (and last), the horizontal filter for ru
66256625
!$acc parallel default(present)
6626-
!$acc loop gang worker private(cell1, cell2, vertex1, vertex2, r_dc, r_dv, &
6627-
!$acc iCell, iVertex, invArea, iEdge_div, iEdge_vort, edge_sign, &
6628-
!$acc laplacian_filter_coef, divergence1, divergence2, vorticity1, vorticity2)
6626+
!$acc loop gang worker private(divergence1, divergence2, vorticity1, vorticity2)
66296627
do iEdge = edgeStart, edgeEnd
66306628

66316629
if ( (bdyMaskEdge(iEdge) > 1) .and. (bdyMaskEdge(iEdge) <= nRelaxZone) ) then ! relaxation zone
66326630

6633-
laplacian_filter_coef = dcEdge(iEdge)*dcEdge(iEdge)* (real(bdyMaskEdge(iEdge)) - 1.)/ &
6631+
laplacian_filter_coef = dcEdge(iEdge)**2 * (real(bdyMaskEdge(iEdge)) - 1.)/ &
66346632
real(nRelaxZone)/(10.*dt*meshScalingRegionalEdge(iEdge))
66356633

66366634
cell1 = cellsOnEdge(1,iEdge)

0 commit comments

Comments
 (0)