Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/volumeops/volume_operator.jl @ 1076:101b88d13cf3 feature/first_derivative
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 07 Apr 2022 20:28:08 +0200 |
parents | 2b6298905692 |
children | 14cb97284373 fc57804c9bf4 |
comparison
equal
deleted
inserted
replaced
1047:d12ab8120d29 | 1076:101b88d13cf3 |
---|---|
22 parts = Base.setindex(Is, op, direction) | 22 parts = Base.setindex(Is, op, direction) |
23 return foldl(⊗, parts) | 23 return foldl(⊗, parts) |
24 end | 24 end |
25 | 25 |
26 """ | 26 """ |
27 VolumeOperator{T,N,M,K} <: TensorOperator{T,1} | 27 VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} |
28 Implements a one-dimensional constant coefficients volume operator | 28 Implements a one-dimensional constant coefficients volume operator |
29 """ | 29 """ |
30 struct VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} | 30 struct VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} |
31 inner_stencil::Stencil{T,N} | 31 inner_stencil::Stencil{T,N} |
32 closure_stencils::NTuple{M,Stencil{T,K}} | 32 closure_stencils::NTuple{M,Stencil{T,K}} |