comparison diffOp.jl @ 166:89b63bdf1ea8 boundary_conditions

Remove obsolete function definitions
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 21 May 2019 13:37:38 +0200
parents 3193bac1c086
children 45840a8127d6
comparison
equal deleted inserted replaced
165:9fc9167e9a4c 166:89b63bdf1ea8
158 158
159 function apply_adjoint(e::NormalDerivative) 159 function apply_adjoint(e::NormalDerivative)
160 160
161 end 161 end
162 162
163
164 # Boundary operators
165
166 function apply_e(L::Laplace{2}, v::AbstractArray{T,2} where T, ::CartesianBoundary{1,R}, j::Int) where R
167 @inbounds vy = view(v, :, j)
168 return apply_e(L.op,vy, R)
169 end
170
171 function apply_e(L::Laplace{2}, v::AbstractArray{T,2} where T, ::CartesianBoundary{2,R}, i::Int) where R
172 @inbounds vx = view(v, i, :)
173 return apply_e(L.op, vy, R)
174 end
175
176 function apply_d(L::Laplace{2}, v::AbstractArray{T,2} where T, ::CartesianBoundary{1,R}, j::Int) where R
177 @inbounds vy = view(v, :, j)
178 return apply_d(L.op,vy, R)
179 end
180
181 function apply_d(L::Laplace{2}, v::AbstractArray{T,2} where T, ::CartesianBoundary{2,R}, i::Int) where R
182 @inbounds vx = view(v, i, :)
183 return apply_d(L.op, vy, R)
184 end
185
186
187 function apply_e_T(L::Laplace{2}, v::AbstractArray{T,2} where T, boundaryId, i::Int)
188
189 end
190
191 function apply_d_T(L::Laplace{2}, v::AbstractArray{T,2} where T, boundaryId, i::Int)
192
193 end
194
195 """ 163 """
196 A BoundaryCondition should implement the method 164 A BoundaryCondition should implement the method
197 sat(::DiffOp, v::AbstractArray, data::AbstractArray, ...) 165 sat(::DiffOp, v::AbstractArray, data::AbstractArray, ...)
198 """ 166 """
199 abstract type BoundaryCondition end 167 abstract type BoundaryCondition end