annotate src/Grids/multiblockgrids.jl @ 2083:ce6450c7505f
feature/lazy_tensors/matrix_of_operators
Start sketching code for matrix of operators tensor
| author |
Jonatan Werpers <jonatan@werpers.com> |
| date |
Mon, 02 Mar 2026 13:14:40 +0100 |
| parents |
e68669552ed8 |
| children |
ea2a15454cf2 |
| rev |
line source |
|
1912
|
1 """
|
|
|
2 MultiBlockBoundary{N, BID} <: BoundaryIdentifier
|
|
|
3
|
|
|
4 A boundary identifier for a multiblock grids. `N` Specifies which grid and
|
|
|
5 `BID` which boundary on that grid.
|
|
|
6 """
|
|
|
7 struct MultiBlockBoundary{N, BID} <: BoundaryIdentifier end
|
|
|
8 grid_id(::MultiBlockBoundary{N, BID}) where {N, BID} = N
|
|
|
9 boundary_id(::MultiBlockBoundary{N, BID}) where {N, BID} = BID()
|