Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/laplace/laplace.jl @ 361:e73af120ad38 refactor/remove_dynamic_size_tensormapping
Remove apply_transpose methods from second derivatives
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 28 Sep 2020 22:42:54 +0200 |
parents | 0844069ab5ff |
children | 0546cb279fc2 |
comparison
equal
deleted
inserted
replaced
360:f36866ba97e6 | 361:e73af120ad38 |
---|---|
42 @inbounds vy = view(v, Int(I), :) | 42 @inbounds vy = view(v, Int(I), :) |
43 @inbounds uᵢ += LazyTensors.apply(L.D2[2], vy , J) | 43 @inbounds uᵢ += LazyTensors.apply(L.D2[2], vy , J) |
44 | 44 |
45 return uᵢ | 45 return uᵢ |
46 end | 46 end |
47 | |
48 LazyTensors.apply_transpose(L::Laplace{Dim,T}, v::AbstractArray{T,Dim}, I::Vararg{Index,Dim}) where {T,Dim} = LazyTensors.apply(L, v, I...) | |
49 | 47 |
50 # quadrature(L::Laplace) = Quadrature(L.op, L.grid) | 48 # quadrature(L::Laplace) = Quadrature(L.op, L.grid) |
51 # inverse_quadrature(L::Laplace) = InverseQuadrature(L.op, L.grid) | 49 # inverse_quadrature(L::Laplace) = InverseQuadrature(L.op, L.grid) |
52 # boundary_value(L::Laplace, bId::CartesianBoundary) = BoundaryValue(L.op, L.grid, bId) | 50 # boundary_value(L::Laplace, bId::CartesianBoundary) = BoundaryValue(L.op, L.grid, bId) |
53 # normal_derivative(L::Laplace, bId::CartesianBoundary) = NormalDerivative(L.op, L.grid, bId) | 51 # normal_derivative(L::Laplace, bId::CartesianBoundary) = NormalDerivative(L.op, L.grid, bId) |