view src/Grids/boundary_identifier.jl @ 1284:f19c51ddbd72 tooling/benchmarks

Update readme with info about running benchmarks from make. Fix typos
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 02 Mar 2023 09:59:42 +0100
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()