Mercurial > repos > public > sbplib_julia
comparison src/Grids/zero_dim_grid.jl @ 1463:4ad1282f8bab feature/grids/boundary_indicies
Implement boundary_indices for ZeroDimGrid
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 28 Nov 2023 08:55:22 +0100 |
parents | 8860bfcaedaa |
children |
comparison
equal
deleted
inserted
replaced
1462:05eb8ba149e2 | 1463:4ad1282f8bab |
---|---|
23 refine(g::ZeroDimGrid, ::Int) = g | 23 refine(g::ZeroDimGrid, ::Int) = g |
24 coarsen(g::ZeroDimGrid, ::Int) = g | 24 coarsen(g::ZeroDimGrid, ::Int) = g |
25 | 25 |
26 boundary_identifiers(g::ZeroDimGrid) = () | 26 boundary_identifiers(g::ZeroDimGrid) = () |
27 boundary_grid(g::ZeroDimGrid, ::Any) = throw(ArgumentError("ZeroDimGrid has no boundaries")) | 27 boundary_grid(g::ZeroDimGrid, ::Any) = throw(ArgumentError("ZeroDimGrid has no boundaries")) |
28 boundary_indices(g::ZeroDimGrid, ::Any) = throw(ArgumentError("ZeroDimGrid has no boundaries")) |