Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmontoya committed Dec 4, 2024
1 parent 56dd695 commit 39cab59
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/test_spherical_advection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ end
@trixiatmo_testset "Spherical advection, covariant weak form, LLF surface flux" begin
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_spherical_advection_covariant_cubed_sphere.jl"),
l2=[1.0007043506351705, 0.0, 0.0, 0.0],
linf=[14.235905681508598, 0.0, 0.0, 0.0])
l2=[1.0007043506351705, 0.0, 0.0],
linf=[14.235905681508598, 0.0, 0.0])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand All @@ -109,8 +109,8 @@ end
@trixiatmo_testset "Spherical advection, covariant weak form, LLF surface flux, global spherical coords" begin
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_spherical_advection_covariant_cubed_sphere.jl"),
l2=[1.0007043506351705, 0.0, 0.0, 0.0],
linf=[14.235905681508598, 0.0, 0.0, 0.0],
l2=[1.0007043506351705, 0.0, 0.0],
linf=[14.235905681508598, 0.0, 0.0],
global_coordinate_system=GlobalSphericalCoordinates())
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand All @@ -127,8 +127,8 @@ end
@trixiatmo_testset "Spherical advection, covariant flux-differencing, central/LLF" begin
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_spherical_advection_covariant_cubed_sphere.jl"),
l2=[1.0007043506351412, 0.0, 0.0, 0.0],
linf=[14.23590568150928, 0.0, 0.0, 0.0],
l2=[1.0007043506351412, 0.0, 0.0],
linf=[14.23590568150928, 0.0, 0.0],
volume_integral=VolumeIntegralFluxDifferencing(flux_central))
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
Expand All @@ -144,8 +144,8 @@ end
@trixiatmo_testset "Spherical advection, covariant flux-differencing, central/central" begin
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_spherical_advection_covariant_cubed_sphere.jl"),
l2=[2.499889861385917, 0.0, 0.0, 0.0],
linf=[38.085244441156085, 0.0, 0.0, 0.0],
l2=[2.499889861385917, 0.0, 0.0],
linf=[38.085244441156085, 0.0, 0.0],
volume_integral=VolumeIntegralFluxDifferencing(flux_central),
surface_flux=flux_central)
# Ensure that we do not have excessive memory allocations
Expand All @@ -161,8 +161,8 @@ end
@trixiatmo_testset "Spherical advection on icosahedral grid, covariant weak form, LLF surface flux" begin
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_spherical_advection_covariant_quad_icosahedron.jl"),
l2=[0.5183886767005157, 0.0, 0.0, 0.0],
linf=[13.54834739856517, 0.0, 0.0, 0.0])
l2=[0.5183886767005157, 0.0, 0.0],
linf=[13.54834739856517, 0.0, 0.0])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down

0 comments on commit 39cab59

Please sign in to comment.