Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/volumeops/volume_operator.jl @ 1365:4684c7f1c4cb feature/variable_derivatives
Merge with default
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sun, 21 May 2023 21:55:14 +0200 |
parents | 49d03d1169ef e94ddef5e72f |
children | ff64acfc1ec9 |
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/volume_operator.jl Sat May 20 14:26:36 2023 +0200 +++ b/src/SbpOperators/volumeops/volume_operator.jl Sun May 21 21:55:14 2023 +0200 @@ -1,7 +1,7 @@ """ VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} -Implements a one-dimensional constant coefficients volume operator +A one-dimensional constant coefficients stencil operator. """ struct VolumeOperator{T,N,M,K} <: LazyTensor{T,1,1} inner_stencil::Stencil{T,N} @@ -10,7 +10,7 @@ parity::Parity end -function VolumeOperator(grid::EquidistantGrid{1}, inner_stencil, closure_stencils, parity) +function VolumeOperator(grid::EquidistantGrid, inner_stencil, closure_stencils, parity) return VolumeOperator(inner_stencil, Tuple(closure_stencils), size(grid), parity) end