view src/Grids/multiblockgrids.jl @ 2058:aeb0a9b81ff7

Add notebook with examples of how objects are shown on the repl
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 14 Feb 2026 23:26:00 +0100
parents e68669552ed8
children ea2a15454cf2
line wrap: on
line source

"""
    MultiBlockBoundary{N, BID} <: BoundaryIdentifier

A boundary identifier for a multiblock grids. `N` Specifies which grid and
`BID` which boundary on that grid.
"""
struct MultiBlockBoundary{N, BID} <: BoundaryIdentifier end
grid_id(::MultiBlockBoundary{N, BID}) where {N, BID} = N
boundary_id(::MultiBlockBoundary{N, BID}) where {N, BID} = BID()