Skip to content

Commit

Permalink
Updated stdpar version to use dc in array redutions
Browse files Browse the repository at this point in the history
  • Loading branch information
sumseq committed Nov 3, 2023
1 parent 516edd4 commit 53b0550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stdpar/pot3d.F
Original file line number Diff line number Diff line change
Expand Up @@ -5333,7 +5333,7 @@ subroutine set_boundary_points (x,vmask)
enddo
do concurrent (i=1:nr)
temp_sum0=0.
do k=2,npm1
do concurrent (k=2:npm1) reduce(+:temp_sum0)
temp_sum0=temp_sum0+x(i,2,k)*dph(k)*pl_i
enddo
sum0(i)=temp_sum0
Expand All @@ -5346,7 +5346,7 @@ subroutine set_boundary_points (x,vmask)
enddo
do concurrent (i=1:nr)
temp_sum0=0.
do k=2,npm1
do concurrent (k=2:npm1) reduce(+:temp_sum0)
temp_sum0=temp_sum0+x(i,ntm1,k)*dph(k)*pl_i
enddo
sum1(i)=temp_sum0
Expand Down

0 comments on commit 53b0550

Please sign in to comment.