annotate src/Grids/multiblockgrids.jl @ 2015:5c2448d6a201
feature/grids/geometry_functions tip
Structure tests a bit more
author |
Jonatan Werpers <jonatan@werpers.com> |
date |
Fri, 09 May 2025 15:57:38 +0200 |
parents |
e68669552ed8 |
children |
|
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()
|