Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/boundaryops/boundary_restriction.jl @ 871:86776d06b883 feature/laplace_opset
REVIEW: Move export statements. Some to the top of the file and some to SbpOperators.jl since they seem more general
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 25 Jan 2022 08:19:02 +0100 |
| parents | beae513ef8b3 |
| children | 6b47a9ee1632 |
comparison
equal
deleted
inserted
replaced
| 870:c4dd4ceb2d40 | 871:86776d06b883 |
|---|---|
| 12 function boundary_restriction(grid::EquidistantGrid, closure_stencil, boundary::CartesianBoundary) | 12 function boundary_restriction(grid::EquidistantGrid, closure_stencil, boundary::CartesianBoundary) |
| 13 converted_stencil = convert(Stencil{eltype(grid)}, closure_stencil) | 13 converted_stencil = convert(Stencil{eltype(grid)}, closure_stencil) |
| 14 return SbpOperators.boundary_operator(grid, converted_stencil, boundary) | 14 return SbpOperators.boundary_operator(grid, converted_stencil, boundary) |
| 15 end | 15 end |
| 16 boundary_restriction(grid::EquidistantGrid{1}, closure_stencil, region::Region) = boundary_restriction(grid, closure_stencil, CartesianBoundary{1,typeof(region)}()) | 16 boundary_restriction(grid::EquidistantGrid{1}, closure_stencil, region::Region) = boundary_restriction(grid, closure_stencil, CartesianBoundary{1,typeof(region)}()) |
| 17 | |
| 18 export boundary_restriction |
