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
......@@ -23,6 +23,7 @@ dumux_add_test(NAME test_diffusion3d
LABELS porousmediumflow 1p sequential
SOURCES test_diffusion3d.cc
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMAKE_GUARD dune-alugrid_FOUND
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_diffusion3d_fv-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_diffusion3d_fv-00000.vtu
......
......@@ -22,13 +22,7 @@
#ifndef DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH
#define DUMUX_TEST_DIFFUSION_3D_PROBLEM_HH
#if HAVE_DUNE_ALUGRID
#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>
......@@ -71,16 +65,8 @@ struct MimeticTest { using InheritsFrom = std::tuple<DiffusionTest, MimeticPress
} // end namespace TTag
// Set the grid type
#if HAVE_DUNE_ALUGRID
template<class TypeTag>
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>
struct Problem<TypeTag, TTag::DiffusionTest> { using type = TestDiffusion3DProblem<TypeTag>; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment