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

[test.stationary...] minor updates

parent 568064b2
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@
#include <dune/grid/io/file/dgfparser/dgfparser.hh>
#include <dune/xt/common/convergence-study.hh>
#include <dune/xt/common/test/common.hh>
#include <dune/xt/common/fvector.hh>
#include <dune/xt/common/string.hh>
#include <dune/xt/common/timedlogging.hh>
......
......@@ -47,7 +47,7 @@ struct ESV2007DiffusionProblem
// We can only reproduce the results from ESV2007 by using a quadrature of order 3, which we obtain with a p1 DG space
// and a force of order 2.
ESV2007DiffusionProblem(int force_order = DXTC_TEST_CONFIG_GET("setup.force_order", 2))
ESV2007DiffusionProblem(int force_order = 2)
: diffusion_factor(1)
, diffusion_tensor(XT::LA::eye_matrix<XT::Common::FieldMatrix<double, d, d>>(d, d))
, dirichlet(0)
......@@ -55,7 +55,7 @@ struct ESV2007DiffusionProblem
, force(force_order)
{}
XT::Grid::GridProvider<G> make_initial_grid()
XT::Grid::GridProvider<G> make_initial_grid() const
{
if (std::is_same<G, YASP_2D_EQUIDISTANT_OFFSET>::value) {
return XT::Grid::make_cube_grid<G>(-1, 1, 8);
......@@ -107,7 +107,7 @@ class ESV2007DiffusionTest : public StationaryDiffusionIpdgEocStudy<G>
public:
ESV2007DiffusionTest()
: BaseType()
, problem()
, problem(DXTC_TEST_CONFIG_GET("setup.force_order", 2))
{}
protected:
......
......@@ -56,7 +56,7 @@ struct OS2015MultiscaleProblem
/*second_domain_with_negative_value=*/{{{4.25, 4.4}, {0.25, 0.4}}, -1e3}})
{}
XT::Grid::GridProvider<G> make_initial_grid()
XT::Grid::GridProvider<G> make_initial_grid() const
{
if (std::is_same<G, YASP_2D_EQUIDISTANT_OFFSET>::value) {
return XT::Grid::make_cube_grid<G>({0., 0.}, {5., 1.}, {100u, 20u});
......
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