Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
removed redundant mask
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Mar 7, 2023
1 parent 4e4712e commit 5688e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/swiftest/swiftest_kick.f90
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ module subroutine swiftest_kick_getacch_int_all_tri_rad_pl(npl, nplm, r, Gmass,
!$omp parallel do default(private) schedule(static)&
!$omp shared(npl,nplm, r, Gmass, radius, acc)
do i = nplm+1,npl
do concurrent(j = 1:nplm, j/=i)
do concurrent(j = 1:nplm)
rx = r(1,j) - r(1,i)
ry = r(2,j) - r(2,i)
rz = r(3,j) - r(3,i)
Expand Down Expand Up @@ -319,7 +319,7 @@ module subroutine swiftest_kick_getacch_int_all_tri_norad_pl(npl, nplm, r, Gmass
!$omp parallel do default(private) schedule(static)&
!$omp shared(npl,nplm, r, Gmass, acc)
do i = nplm+1,npl
do concurrent(j = 1:nplm, j/=i)
do concurrent(j = 1:nplm)
rx = r(1,j) - r(1,i)
ry = r(2,j) - r(2,i)
rz = r(3,j) - r(3,i)
Expand Down

0 comments on commit 5688e85

Please sign in to comment.