Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/boundaryops/boundary_operator.jl @ 825:69700b0b1452 operator_storage_array_of_table
Remove unneeded type specification in boundary_operator signature
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 21 Dec 2021 16:02:11 +0100 |
parents | 9f27f451d0a0 |
children | a8d64785f51b |
comparison
equal
deleted
inserted
replaced
824:18b22737fc26 | 825:69700b0b1452 |
---|---|
7 When `Dim=1`, the corresponding `BoundaryOperator` tensor mapping is returned. | 7 When `Dim=1`, the corresponding `BoundaryOperator` tensor mapping is returned. |
8 When `Dim>1`, the `BoundaryOperator` `op` is inflated by the outer product | 8 When `Dim>1`, the `BoundaryOperator` `op` is inflated by the outer product |
9 of `IdentityMappings` in orthogonal coordinate directions, e.g for `Dim=3`, | 9 of `IdentityMappings` in orthogonal coordinate directions, e.g for `Dim=3`, |
10 the boundary restriction operator in the y-direction direction is `Ix⊗op⊗Iz`. | 10 the boundary restriction operator in the y-direction direction is `Ix⊗op⊗Iz`. |
11 """ | 11 """ |
12 function boundary_operator(grid::EquidistantGrid{Dim,T}, closure_stencil::Stencil{T}, boundary::CartesianBoundary) where {Dim,T} | 12 function boundary_operator(grid::EquidistantGrid{Dim,T}, closure_stencil, boundary::CartesianBoundary) where {Dim,T} |
13 #TODO:Check that dim(boundary) <= Dim? | 13 #TODO:Check that dim(boundary) <= Dim? |
14 | 14 |
15 # Create 1D boundary operator | 15 # Create 1D boundary operator |
16 r = region(boundary) | 16 r = region(boundary) |
17 d = dim(boundary) | 17 d = dim(boundary) |