diff src/SbpOperators/boundaryops/boundary_operator.jl @ 627:9f27f451d0a0 feature/volume_and_boundary_operators

Add todo for checking valid inputs to boundary_operator and volume_operators
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 31 Dec 2020 08:13:04 +0100
parents 332f65c1abf3
children b4acd25943f4 69700b0b1452
line wrap: on
line diff
--- a/src/SbpOperators/boundaryops/boundary_operator.jl	Thu Dec 31 08:11:57 2020 +0100
+++ b/src/SbpOperators/boundaryops/boundary_operator.jl	Thu Dec 31 08:13:04 2020 +0100
@@ -10,6 +10,8 @@
 the boundary restriction operator in the y-direction direction is `Ix⊗op⊗Iz`.
 """
 function boundary_operator(grid::EquidistantGrid{Dim,T}, closure_stencil::Stencil{T}, boundary::CartesianBoundary) where {Dim,T}
+    #TODO:Check that dim(boundary) <= Dim?
+
     # Create 1D boundary operator
     r = region(boundary)
     d = dim(boundary)