Mercurial > repos > public > sbplib_julia
changeset 229:cd60382f392b boundary_conditions
Merge
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Jun 2019 14:45:24 +0200 |
parents | eb8525066f9b (diff) 5acef2d5db2e (current diff) |
children | 3d94f60f6fae |
files | DiffOps/src/DiffOps.jl |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/DiffOps/src/DiffOps.jl Wed Jun 26 14:38:01 2019 +0200 +++ b/DiffOps/src/DiffOps.jl Wed Jun 26 14:45:24 2019 +0200 @@ -4,16 +4,16 @@ using SbpOperators using Grids +""" + DiffOp + +Supertype of differential operator discretisations. +The action of the DiffOp is defined in the method + apply(D::DiffOp, v::AbstractVector, I...) +""" abstract type DiffOp end -# 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? -function apply(D::DiffOp, v::AbstractVector, i::Int) - error("not implemented") -end - -function innerProduct(D::DiffOp, u::AbstractVector, v::AbstractVector)::Real - error("not implemented") -end +function apply end function matrixRepresentation(D::DiffOp) error("not implemented")