diff src/SbpOperators/volumeops/volume_operator.jl @ 1351:d7f29359b822

Merge refactor/grids
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 19 May 2023 23:53:36 +0200
parents e94ddef5e72f
children 4684c7f1c4cb
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/volume_operator.jl	Mon May 01 11:37:09 2023 +0200
+++ b/src/SbpOperators/volumeops/volume_operator.jl	Fri May 19 23:53:36 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