Mercurial > repos > public > sbplib_julia
comparison src/Grids/multiblockgrids.jl @ 1912:e68669552ed8 feature/grids/multiblock_boundaries
Add MultiBlockBoundary
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 03 Feb 2025 23:10:12 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1900:418566cdd689 | 1912:e68669552ed8 |
---|---|
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() |