Skip to content
Snippets Groups Projects
Commit 7223edb7 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[test|ESV2007] add test on cubic grids

parent 363950d9
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,9 @@ using namespace Dune;
using namespace Dune::GDT::Test;
using ESV2007Table1Test = ESV2007DiffusionTest<ALU_2D_SIMPLEX_CONFORMING>;
#if SIMPLEXGRID_2D_AVAILABLE
using ESV2007Table1Test = ESV2007DiffusionTest<SIMPLEXGRID_2D>;
TEST_F(ESV2007Table1Test, columns_1_to_5)
{
this->space_type_ = "dg_p1";
......@@ -30,3 +32,15 @@ TEST_F(ESV2007Table1Test, columns_1_to_5)
const auto expected_results = DXTC_TEST_CONFIG_SUB("results");
XT::Test::check_eoc_study_for_success(expected_results, actual_results);
}
#endif // SIMPLEXGRID_2D_AVAILABLE
using NearlyESV2007Table1ButWithCubicGridTest = ESV2007DiffusionTest<CUBEGRID_2D>;
TEST_F(NearlyESV2007Table1ButWithCubicGridTest, columns_1_to_5)
{
this->space_type_ = "dg_p1";
const auto actual_results = this->run();
const auto expected_results = DXTC_TEST_CONFIG_SUB("results");
XT::Test::check_eoc_study_for_success(expected_results, actual_results);
}
......@@ -19,3 +19,18 @@ norm.eta_R = [7.23e-02 1.82e-02 4.54e-03] # 1.14e-03]
# norm.eta_DF = [3.38e-01 1.69e-01 8.39e-02 4.18e-02]
norm.eta_DF = [3.55e-01 1.76e-01 8.73e-02] # 4.35e-02]
[NearlyESV2007Table1ButWithCubicGridTest.columns_1_to_5.setup]
force_order = 4
over_integrate = 0
num_refinements = 2
num_additional_refinements_for_reference = 0
reference_solution_order = 4
use_tbb = false
[NearlyESV2007Table1ButWithCubicGridTest.columns_1_to_5.results]
target.h = [3.54e-01 1.77e-01 8.84e-02]
norm.H_1_semi = [2.77e-01 1.39e-01 6.98e-02]
norm.eta_NC = [1.11e-02 3.62e-03 1.25e-03]
norm.eta_R = [8.85e-02 2.22e-02 5.56e-03]
norm.eta_DF = [4.42e-01 2.23e-01 1.12e-01]
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