Mercurial > repos > public > sbplib_julia
view src/Grids/boundary_identifier.jl @ 1298:aa8579b7fc15 bugfix/lazytensors
Fix parameter order in subtyping
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 04 Apr 2023 21:39:53 +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()