Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/boundaryops/boundary_operator.jl @ 832:00f6bbdcd73a operator_storage_array_of_table
Review: Include latest changes
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 12 Jan 2022 15:54:21 +0100 |
parents | 69700b0b1452 |
children | a8d64785f51b |
comparison
equal
deleted
inserted
replaced
813:cdc2b5ebf7cb | 832:00f6bbdcd73a |
---|---|
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) |