Mercurial > repos > public > sbplib_julia
changeset 1944:2a923e673cfc feature/grids/manifolds
Add boundary_identifiers for Chart
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 07 Feb 2025 15:56:04 +0100 |
parents | 48c49c04f3b2 |
children | 19efb9dacfff |
files | src/Grids/manifolds.jl test/Grids/manifolds_test.jl |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/manifolds.jl Fri Feb 07 15:29:40 2025 +0100 +++ b/src/Grids/manifolds.jl Fri Feb 07 15:56:04 2025 +0100 @@ -33,7 +33,7 @@ jacobian(c::Chart, ξ) = jacobian(c.mapping, ξ) # TBD: Can we register a error hint for when jacobian is called with a function that doesn't have a registered jacobian? -boundaries(c::Chart) = boundaries(parameterspace(c)) +boundaries(c::Chart) = boundary_identifiers(parameterspace(c)) """
--- a/test/Grids/manifolds_test.jl Fri Feb 07 15:29:40 2025 +0100 +++ b/test/Grids/manifolds_test.jl Fri Feb 07 15:56:04 2025 +0100 @@ -24,7 +24,7 @@ @test jacobian(c, [3,2]) == [2,2] - @test_broken Set(boundaries(X,unitsquare())) == Set([east,west,south,north]) + @test Set(boundaries(Chart(X,unitsquare()))) == Set([east(),west(),south(),north()]) end @testset "CartesianAtlas" begin