Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/volumeops/volume_operator.jl @ 1072:14cb97284373 feature/dissipation_operators
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 24 Mar 2022 12:00:12 +0100 |
parents | 52f07c77299d 2b6298905692 |
children | 5a3281429a48 157a78959e5d |
comparison
equal
deleted
inserted
replaced
1069:c89c6b63c7f4 | 1072:14cb97284373 |
---|---|
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}} |