Skip to content
Snippets Groups Projects
Commit ab52ae45 authored by Sina Ackermann's avatar Sina Ackermann Committed by Katharina Heck
Browse files

Adapt CMakeLists.txt, use ALUGRID

* test passes
parent ac66c19a
No related branches found
No related tags found
1 merge request!1547[examples] Set up problem for documentation (2p, adaptive, point source)
...@@ -9,5 +9,5 @@ dune_add_test(NAME test_2p_pointsource_adaptive ...@@ -9,5 +9,5 @@ dune_add_test(NAME test_2p_pointsource_adaptive
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_2p_pointsource_adaptive_tpfa-reference.vtu --files ${CMAKE_SOURCE_DIR}/test/references/test_2p_pointsource_adaptive_tpfa-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_2p_pointsource_adaptive_tpfa-00001.vtu ${CMAKE_CURRENT_BINARY_DIR}/test_2p_pointsource_adaptive-00001.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_2p_pointsource_adaptive_tpfa params.input -Problem.Name test_2p_pointsource_adaptive_tpfa") --command "${CMAKE_CURRENT_BINARY_DIR}/test_2p_pointsource_adaptive params.input -Problem.Name test_2p_pointsource_adaptive")
...@@ -54,13 +54,13 @@ namespace Dumux { ...@@ -54,13 +54,13 @@ namespace Dumux {
} // end namespace TTag } // end namespace TTag
//! Use non-conforming refinement //! Use non-conforming refinement
// #if HAVE_DUNE_ALUGRID TODO #if HAVE_DUNE_ALUGRID
// template<class TypeTag> template<class TypeTag>
// struct Grid<TypeTag, TTag::TwoPAdaptivePointSource> { using type = Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>; }; struct Grid<TypeTag, TTag::TwoPAdaptivePointSource> { using type = Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>; };
// #else #else
template<class TypeTag> template<class TypeTag>
struct Grid<TypeTag, TTag::TwoPAdaptivePointSource> { using type = Dune::YaspGrid<2>; }; struct Grid<TypeTag, TTag::TwoPAdaptivePointSource> { using type = Dune::YaspGrid<2>; };
// #endif #endif
template<class TypeTag> template<class TypeTag>
struct Problem<TypeTag, TTag::TwoPAdaptivePointSource> { using type = PointSourceTestProblem<TypeTag>; }; struct Problem<TypeTag, TTag::TwoPAdaptivePointSource> { using type = PointSourceTestProblem<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