Skip to content
Snippets Groups Projects

WIP: Resolve "WENO flux contains bug"

Merged Timothy Smith requested to merge 19-weno-flux-contains-bug into consistent-part-test
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
+ 5
5
@@ -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):
Loading