Mercurial > repos > public > sbplib_julia
changeset 1935:378d38bab1df feature/grids/manifolds
Move definitions of boundary sides in tests
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 07 Feb 2025 13:33:43 +0100 |
parents | 1b012e2d5db1 |
children | a7c9d04b57e0 |
files | test/Grids/manifolds_test.jl |
diffstat | 1 files changed, 7 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/test/Grids/manifolds_test.jl Fri Feb 07 11:11:54 2025 +0100 +++ b/test/Grids/manifolds_test.jl Fri Feb 07 13:33:43 2025 +0100 @@ -6,6 +6,13 @@ using StaticArrays +west = CartesianBoundary{1,LowerBoundary} +east = CartesianBoundary{1,UpperBoundary} +south = CartesianBoundary{2,LowerBoundary} +north = CartesianBoundary{2,UpperBoundary} +bottom = CartesianBoundary{3, LowerBoundary} +top = CartesianBoundary{3, UpperBoundary} + @testset "Chart" begin X(ξ) = 2ξ Grids.jacobian(::typeof(X), ξ) = @SVector[2,2] @@ -36,13 +43,6 @@ end @testset "connections" begin - west = CartesianBoundary{1,LowerBoundary} - east = CartesianBoundary{1,UpperBoundary} - south = CartesianBoundary{2,LowerBoundary} - north = CartesianBoundary{2,UpperBoundary} - bottom = CartesianBoundary{3, LowerBoundary} - top = CartesianBoundary{3, UpperBoundary} - # 2D a = CartesianAtlas(fill(Chart(identity, unitsquare()), 2,3)) @@ -87,13 +87,6 @@ end @testset "boundaries" begin - west = CartesianBoundary{1,LowerBoundary} - east = CartesianBoundary{1,UpperBoundary} - south = CartesianBoundary{2,LowerBoundary} - north = CartesianBoundary{2,UpperBoundary} - bottom = CartesianBoundary{3, LowerBoundary} - top = CartesianBoundary{3, UpperBoundary} - # 2D a = CartesianAtlas(fill(Chart(identity, unitsquare()), 2,3)) @test Set(boundaries(a)) == Set([