Mercurial > repos > public > sbplib_julia
comparison DiffOps/src/DiffOps.jl @ 215:3a93d8a799ce package_refactor
Add missing module in DiffOps
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 12:32:21 +0200 |
parents | 1ad91e11b1f4 |
children | 235f0a771c8f |
comparison
equal
deleted
inserted
replaced
214:08b07c6eeec7 | 215:3a93d8a799ce |
---|---|
1 module DiffOps | |
2 | |
3 using RegionIndices | |
4 | |
1 abstract type DiffOp end | 5 abstract type DiffOp end |
2 | 6 |
3 # TBD: The "error("not implemented")" thing seems to be hiding good error information. How to fix that? Different way of saying that these should be implemented? | 7 # TBD: The "error("not implemented")" thing seems to be hiding good error information. How to fix that? Different way of saying that these should be implemented? |
4 function apply(D::DiffOp, v::AbstractVector, i::Int) | 8 function apply(D::DiffOp, v::AbstractVector, i::Int) |
5 error("not implemented") | 9 error("not implemented") |
216 # sat(s.L, Dirichlet{CartesianBoundary{1,Lower}}(s.tau), v, s.g_w, i) + | 220 # sat(s.L, Dirichlet{CartesianBoundary{1,Lower}}(s.tau), v, s.g_w, i) + |
217 # sat(s.L, Dirichlet{CartesianBoundary{1,Upper}}(s.tau), v, s.g_e, i) + | 221 # sat(s.L, Dirichlet{CartesianBoundary{1,Upper}}(s.tau), v, s.g_e, i) + |
218 # sat(s.L, Dirichlet{CartesianBoundary{2,Lower}}(s.tau), v, s.g_s, i) + | 222 # sat(s.L, Dirichlet{CartesianBoundary{2,Lower}}(s.tau), v, s.g_s, i) + |
219 # sat(s.L, Dirichlet{CartesianBoundary{2,Upper}}(s.tau), v, s.g_n, i) | 223 # sat(s.L, Dirichlet{CartesianBoundary{2,Upper}}(s.tau), v, s.g_n, i) |
220 # end | 224 # end |
225 | |
226 end # module |