Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haochey committed Nov 12, 2024
1 parent 82ea810 commit 09d6a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simulation/m_acoustic_src.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ contains

if (bubbles) then
if (num_fluids > 2) then
!$acc loop reduction(+:myRho,B_tait,small_gamma)
!$acc loop seq
do q = 1, num_fluids - 1
myRho = myRho + myalpha_rho(q)
B_tait = B_tait + myalpha(q)*pi_infs(q)
Expand All @@ -226,7 +226,7 @@ contains
end if

if ((.not. bubbles) .or. (mpp_lim .and. (num_fluids > 2))) then
!$acc loop reduction(+:myRho,B_tait,small_gamma)
!$acc loop seq
do q = 1, num_fluids
myRho = myRho + myalpha_rho(q)
B_tait = B_tait + myalpha(q)*pi_infs(q)
Expand Down

0 comments on commit 09d6a5f

Please sign in to comment.