Mercurial > repos > public > sbplib_julia
view src/Grids/boundary_identifier.jl @ 1313:708dbfd5edb9 tooling/benchmarks
Make hg_at_revision() return the result of f
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 27 Apr 2023 08:48:28 +0200 |
parents | 0bb637898fd9 |
children |
line wrap: on
line source
abstract type BoundaryIdentifier end struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim region(::CartesianBoundary{Dim, R}) where {Dim, R} = R()