Skip to content

Commit

Permalink
Correct indexing issue in OMP/Thomas
Browse files Browse the repository at this point in the history
  • Loading branch information
pbartholomew08 committed Aug 13, 2024
1 parent 015b0a1 commit a04874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omp/exec_thom.f90
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ subroutine der_univ_thom_per(du, u, tdsops)
du(i, j, k) = sum(coeffs(1:4) * u(i, jm(1:4), k))
du(i, j, k) = du(i, j, k) + coeffs(5) * u(i, j, k)
du(i, j, k) = du(i, j, k) + sum(coeffs(6:9) * u(i, jp(1:4), k))
du(i, j, k) = du(i, j, k) - du(i, jm(4), k) * thom_s(j)
du(i, j, k) = du(i, j, k) - du(i, jm(1), k) * thom_s(j)
end do
!$omp end simd
end do
Expand Down

0 comments on commit a04874f

Please sign in to comment.