Mercurial > repos > public > sbplib_julia
changeset 83:b795ec7f9ca0 cell_based_test
Merge
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 24 Jan 2019 17:46:57 +0100 |
parents | 45dece5e4928 (current diff) fbf7398f8154 (diff) |
children | 8d505e9bc715 |
files | diffOp.jl sbpD2.jl stencil.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/diffOp.jl Thu Jan 24 17:42:51 2019 +0100 +++ b/diffOp.jl Thu Jan 24 17:46:57 2019 +0100 @@ -71,10 +71,10 @@ I = ci[i] # 2nd x-derivative - vx = uview(v, uview(li,:,I[2])) + @inbounds vx = uview(v, uview(li,:,I[2])) uᵢ = apply(L.op, h[1], vx , I[1]) # 2nd y-derivative - vy = uview(v, uview(li,I[1],:)) + @inbounds vy = uview(v, uview(li,I[1],:)) uᵢ += apply(L.op, h[2], vy, I[2]) return uᵢ