Mercurial > repos > public > sbplib_julia
diff diffOp.jl @ 84:48079bd39969
Change to using tuples in stencils and ops
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 25 Jan 2019 15:20:40 +0100 |
parents | 81d9510cb2d0 |
children | 8d505e9bc715 c0729ade65da |
line wrap: on
line diff
--- a/diffOp.jl Thu Jan 24 13:33:07 2019 +0100 +++ b/diffOp.jl Fri Jan 25 15:20:40 2019 +0100 @@ -33,10 +33,10 @@ end # Differential operator for a*d^2/dx^2 -struct Laplace{D, T<:Real} <: DiffOp - grid::Grid.EquidistantGrid{D,T} +struct Laplace{Dim,T<:Real,N,M,K} <: DiffOp + grid::Grid.EquidistantGrid{Dim,T} a::T - op::D2{Float64} + op::D2{Float64,N,M,K} end # u = L*v