diff src/SbpOperators/volumeops/volume_operator.jl @ 1360:f59228534d3a tooling/benchmarks

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 20 May 2023 15:15:22 +0200
parents e94ddef5e72f
children 4684c7f1c4cb
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/volume_operator.jl	Fri Apr 28 09:00:35 2023 +0200
+++ b/src/SbpOperators/volumeops/volume_operator.jl	Sat May 20 15:15:22 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