Skip to content
Snippets Groups Projects
Commit 72f156b0 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[test][sequential1p] use alugrid for test

parent d66f614c
No related branches found
No related tags found
1 merge request!2099[test][sequential] remove failing grid/solver combinations
...@@ -23,6 +23,7 @@ dumux_add_test(NAME test_diffusion3d ...@@ -23,6 +23,7 @@ dumux_add_test(NAME test_diffusion3d
LABELS porousmediumflow 1p sequential LABELS porousmediumflow 1p sequential
SOURCES test_diffusion3d.cc SOURCES test_diffusion3d.cc
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMAKE_GUARD dune-alugrid_FOUND
CMD_ARGS --script fuzzy CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_fv-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_fv-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fv-00000.vtu ${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fv-00000.vtu
......
...@@ -22,13 +22,7 @@ ...@@ -22,13 +22,7 @@
#ifndef DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH #ifndef DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH
#define DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH #define DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH
#if HAVE_DUNE_ALUGRID
#include <dune/alugrid/grid.hh> #include <dune/alugrid/grid.hh>
#endif
#if HAVE_UG
#include <dune/grid/uggrid.hh>
#endif
#include <dune/grid/yaspgrid.hh>
#include <dumux/material/components/constant.hh> #include <dumux/material/components/constant.hh>
...@@ -71,16 +65,8 @@ struct MimeticTest { using InheritsFrom = std::tuple<DiffusionTest, MimeticPress ...@@ -71,16 +65,8 @@ struct MimeticTest { using InheritsFrom = std::tuple<DiffusionTest, MimeticPress
} // end namespace TTag } // end namespace TTag
// Set the grid type // Set the grid type
#if HAVE_DUNE_ALUGRID
template<class TypeTag> template<class TypeTag>
struct Grid<TypeTag, TTag::DiffusionTest> { using type = Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming>; }; struct Grid<TypeTag, TTag::DiffusionTest> { using type = Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming>; };
#elif HAVE_UG
template<class TypeTag>
struct Grid<TypeTag, TTag::DiffusionTest> { using type = Dune::UGGrid<3>; };
#else
template<class TypeTag>
struct Grid<TypeTag, TTag::DiffusionTest> { using type = Dune::YaspGrid<3>; };
#endif
template<class TypeTag> template<class TypeTag>
struct Problem<TypeTag, TTag::DiffusionTest> { using type = TestDiffusion3DProblem<TypeTag>; }; struct Problem<TypeTag, TTag::DiffusionTest> { using type = TestDiffusion3DProblem<TypeTag>; };
......
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