Commit 80fa8202 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[test][co2] add test with mpfa

parent 30717984
......@@ -31,6 +31,18 @@ dumux_add_test(NAME test_co2_tpfa
${CMAKE_CURRENT_BINARY_DIR}/test_co2_tpfa-00028.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_co2_tpfa params.input -Problem.Name test_co2_tpfa")
dumux_add_test(NAME test_co2_mpfa
LABELS porousmediumflow co2
TIMEOUT 3600
SOURCES main.cc
COMPILE_DEFINITIONS TYPETAG=HeterogeneousCCMpfa
CMAKE_GUARD "( dune-alugrid_FOUND )"
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_co2_mpfa-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_co2_mpfa-00028.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_co2_mpfa params.input -Problem.Name test_co2_mpfa")
dumux_add_test(NAME test_co2_box_parallel
TARGET test_co2_box
LABELS porousmediumflow co2 parallel
......
......@@ -28,6 +28,7 @@
#include <dune/alugrid/grid.hh>
#include <dumux/discretization/cctpfa.hh>
#include <dumux/discretization/ccmpfa.hh>
#include <dumux/discretization/box.hh>
#include <dumux/porousmediumflow/co2/model.hh>
......@@ -51,6 +52,7 @@ namespace TTag {
struct Heterogeneous { using InheritsFrom = std::tuple<TwoPTwoCCO2>; };
struct HeterogeneousBox { using InheritsFrom = std::tuple<Heterogeneous, BoxModel>; };
struct HeterogeneousCCTpfa { using InheritsFrom = std::tuple<Heterogeneous, CCTpfaModel>; };
struct HeterogeneousCCMpfa { using InheritsFrom = std::tuple<Heterogeneous, CCMpfaModel>; };
} // end namespace TTag
//Set the grid type
......
This diff is collapsed.
Markdown is supported
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