Skip to content
Snippets Groups Projects
Commit 95fcc59a authored by Timothy A. Smith's avatar Timothy A. Smith
Browse files

Merge branch 'consistent-part-test' into 19-weno-flux-contains-bug

parents 7950a404 47f4f036
No related branches found
No related tags found
3 merge requests!23Dissipation part tests,!22WIP: Resolve "WENO flux contains bug",!21added test for consistent part of WENO flux
Pipeline #18426 failed
This commit is part of merge request !22. Comments created here will be created in the context of that merge request.
......@@ -43,7 +43,7 @@ import utilities as u
"-1.58578644 0 1.41421356 -0.725992789 -0.725992789,"
"3.77207794 -2.24264069 -2.24264069 3.3359596 5.57860029"),
"-4.35371022 12.2479485 8.99522344 8.99522344 -51.3903927")
])
])
def test_weno_flux_uniform_grid(
ctx_factory, gen_fluxes_str, char_fluxes_pos_str, char_fluxes_neg_str,
combined_metric, R_str, flux_expected_str):
......@@ -74,10 +74,10 @@ def test_weno_flux_uniform_grid(
@pytest.mark.parametrize(("gen_fluxes_str,consistent_expected_str"), [
("4 11.2 8 8 46.4,1 2.6 1 1 7.1",
"2.5 6.9 4.5 4.5 26.75"),
("-1 2.6 1 1 -7.1,-4 11.2 8 8 -46.4",
"-2.5 6.9 4.5 4.5 -26.75")
("4 11.2 8 8 46.4,1 2.6 1 1 7.1",
"2.5 6.9 4.5 4.5 26.75"),
("-1 2.6 1 1 -7.1,-4 11.2 8 8 -46.4",
"-2.5 6.9 4.5 4.5 -26.75")
])
def test_consistent_part_uniform_grid(
ctx_factory, gen_fluxes_str, consistent_expected_str):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment