Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psaap3-weno
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
psaap3-weno
Merge requests
!22
WIP: Resolve "WENO flux contains bug"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
WIP: Resolve "WENO flux contains bug"
19-weno-flux-contains-bug
into
consistent-part-test
Overview
0
Commits
3
Pipelines
4
Changes
1
Merged
Timothy Smith
requested to merge
19-weno-flux-contains-bug
into
consistent-part-test
5 years ago
Overview
0
Commits
3
Pipelines
4
Changes
1
Expand
Closes
#19 (closed)
0
0
Merge request reports
Viewing commit
95fcc59a
Prev
Next
Show latest version
1 file
+
5
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
95fcc59a
Merge branch 'consistent-part-test' into 19-weno-flux-contains-bug
· 95fcc59a
Timothy A. Smith
authored
5 years ago
test.py
+
5
−
5
Options
@@ -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