Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/volumeops/volume_operator.jl @ 1089:2278730f9cee refactor/sbpoperators/inflation
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 10 May 2022 20:24:20 +0200 |
parents | 52f07c77299d 2b6298905692 |
children | 5a3281429a48 157a78959e5d |
comparison
equal
deleted
inserted
replaced
1088:62f321caa964 | 1089:2278730f9cee |
---|---|
16 return LazyTensors.inflate(op, size(grid), direction) | 16 return LazyTensors.inflate(op, size(grid), direction) |
17 end | 17 end |
18 # TBD: Should the inflation happen here or should we remove this method and do it at the caller instead? | 18 # TBD: Should the inflation happen here or should we remove this method and do it at the caller instead? |
19 | 19 |
20 """ | 20 """ |
21 VolumeOperator{T,N,M,K} <: TensorOperator{T,1} | 21 VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} |
22 Implements a one-dimensional constant coefficients volume operator | 22 Implements a one-dimensional constant coefficients volume operator |
23 """ | 23 """ |
24 struct VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} | 24 struct VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} |
25 inner_stencil::Stencil{T,N} | 25 inner_stencil::Stencil{T,N} |
26 closure_stencils::NTuple{M,Stencil{T,K}} | 26 closure_stencils::NTuple{M,Stencil{T,K}} |