Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
f20b21a6
Commit
f20b21a6
authored
Nov 11, 2020
by
niklas.baumgarten
Browse files
added DG tests
parent
84d3f851
Pipeline
#117714
failed with stages
in 7 minutes and 57 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
tests/unit/TestPDESolver.cpp
View file @
f20b21a6
...
...
@@ -65,7 +65,13 @@ INSTANTIATE_TEST_CASE_P(TestPDESolver, TestLaplace1D, Values(
TestParams
{
"HybridElliptic"
,
"Laplace1D"
,
"Inflow"
,
-
1.0
},
TestParams
{
"HybridElliptic"
,
"Laplace1D"
,
"Outflow"
,
1.0
},
TestParams
{
"HybridElliptic"
,
"Laplace1D"
,
"EnergyError"
,
0.0
},
TestParams
{
"HybridElliptic"
,
"Laplace1D"
,
"FluxError"
,
0.0
}
TestParams
{
"HybridElliptic"
,
"Laplace1D"
,
"FluxError"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace1D"
,
"L2Error"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace1D"
,
"EnergyError"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace1D"
,
"FluxError"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace1D"
,
"Inflow"
,
-
1.0
},
TestParams
{
"DGElliptic"
,
"Laplace1D"
,
"Outflow"
,
1.0
}
));
TEST_P
(
TestLaplace1D
,
TestRun
)
{
...
...
@@ -96,13 +102,13 @@ INSTANTIATE_TEST_CASE_P(TestPDESolver, TestLaplace2D, Values(
TestParams
{
"HybridElliptic"
,
"Laplace2D"
,
"EnergyError"
,
0.0
},
TestParams
{
"HybridElliptic"
,
"Laplace2D"
,
"FluxError"
,
0.0
},
TestParams
{
"HybridElliptic"
,
"Laplace2D"
,
"Inflow"
,
-
1.0
},
TestParams
{
"HybridElliptic"
,
"Laplace2D"
,
"Outflow"
,
1.0
}
TestParams
{
"HybridElliptic"
,
"Laplace2D"
,
"Outflow"
,
1.0
}
,
//
TestParams{"DGElliptic", "Laplace2D", "L2Error", 0.0},
//
TestParams{"DGElliptic", "Laplace2D", "EnergyError", 0.0},
//
TestParams{"DGElliptic", "Laplace2D", "FluxError", 0.0},
//
TestParams{"DGElliptic", "Laplace2D", "Inflow", -1.0},
//
TestParams{"DGElliptic", "Laplace2D", "Outflow", 1.0}
TestParams
{
"DGElliptic"
,
"Laplace2D"
,
"L2Error"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace2D"
,
"EnergyError"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace2D"
,
"FluxError"
,
0.0
},
TestParams
{
"DGElliptic"
,
"Laplace2D"
,
"Inflow"
,
-
1.0
},
TestParams
{
"DGElliptic"
,
"Laplace2D"
,
"Outflow"
,
1.0
}
));
TEST_P
(
TestLaplace2D
,
TestRun
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment