Mercurial > repos > public > sbplib_julia
comparison src/Grids/multiblockgrids.jl @ 1954:b0915f43b122 feature/sbp_operators/laplace_curvilinear
Merge feature/grids/geometry_functions
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 08 Feb 2025 09:38:58 +0100 |
parents | e68669552ed8 |
children |
comparison
equal
deleted
inserted
replaced
1953:835b1dcee38e | 1954:b0915f43b122 |
---|---|
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() |