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

[2pincompressible] add mpfa test

parent 2db910e8
......@@ -12,4 +12,10 @@ dune_add_test(NAME test_2p_incompressible_box
COMPILE_DEFINITIONS TYPETAG=TwoPIncompressibleBox
CMD_ARGS test_2p.input -Problem.Name 2p_box)
# using mpfa
dune_add_test(NAME test_2p_incompressible_mpfa
SOURCES test_2p.cc
COMPILE_DEFINITIONS TYPETAG=TwoPIncompressibleMpfa
CMD_ARGS test_2p.input -Problem.Name 2p_mpfa)
set(CMAKE_BUILD_TYPE Release)
......@@ -28,6 +28,7 @@
#include <dumux/material/components/simpleh2o.hh>
#include <dumux/implicit/box/properties.hh>
#include <dumux/implicit/cellcentered/tpfa/properties.hh>
#include <dumux/implicit/cellcentered/mpfa/properties.hh>
#include <dumux/porousmediumflow/2p/implicit/propertydefaults.hh>
#include <dumux/porousmediumflow/2p/implicit/incompressiblelocalresidual.hh>
......@@ -46,6 +47,7 @@ NEW_PROP_TAG(FVGridGeometry);
NEW_TYPE_TAG(TwoPIncompressible, INHERITS_FROM(TwoP));
NEW_TYPE_TAG(TwoPIncompressibleTpfa, INHERITS_FROM(CCTpfaModel, TwoPIncompressible, SpatialParams));
NEW_TYPE_TAG(TwoPIncompressibleMpfa, INHERITS_FROM(CCMpfaModel, TwoPIncompressible, SpatialParams));
NEW_TYPE_TAG(TwoPIncompressibleBox, INHERITS_FROM(BoxModel, TwoPIncompressible, SpatialParams));
// Set the grid type
......
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