Mercurial > repos > public > sbplib_julia
changeset 57:178a203f3e6d cell_based_test
Add types to Laplace operators
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 15 Jan 2019 19:51:16 +0100 |
| parents | 27a8d3021a1c |
| children | 7ab0043aca53 a94ebe67e848 |
| files | diffOp.jl sbp.jl |
| diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/diffOp.jl Tue Jan 15 12:26:06 2019 +0100 +++ b/diffOp.jl Tue Jan 15 19:51:16 2019 +0100 @@ -49,9 +49,9 @@ # Differential operator for a*d^2/dx^2 struct Laplace1D <: DiffOp - grid - a - op + grid::Grid.EquidistantGrid + a::Real + op::D2{Float64} end # u = L*v @@ -64,9 +64,9 @@ # Differential operator for a*d^2/dx^2 + a*d^2/dy^2 struct Laplace2D <: DiffOp - grid - a - op + grid::Grid.EquidistantGrid + a::Real + op::D2{Float64} end # u = L*v
