comparison src/Grids/zero_dim_grid.jl @ 1480:4550beef9694 feature/boundary_conditions

Merge with default
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sat, 23 Dec 2023 23:03:13 +0100
parents 4ad1282f8bab
children
comparison
equal deleted inserted replaced
1479:b96858a50e35 1480:4550beef9694
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"))