Skip to content
Snippets Groups Projects
Commit 104e6e07 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[boxFvGeometry][test] Define Scalar in header and do not inherit from ModelProperties

parent 15fda9b4
No related branches found
No related tags found
2 merge requests!630Improve properties,!617[WIP] Next
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <dune/grid/common/mcmgmapper.hh> #include <dune/grid/common/mcmgmapper.hh>
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/common/properties/model.hh>
#include <dumux/discretization/box/properties.hh> #include <dumux/discretization/box/properties.hh>
namespace Dumux namespace Dumux
...@@ -40,8 +39,9 @@ namespace Dumux ...@@ -40,8 +39,9 @@ namespace Dumux
namespace Properties namespace Properties
{ {
NEW_TYPE_TAG(TestBoxFVGeometry, INHERITS_FROM(BoxModel, ModelProperties)); NEW_TYPE_TAG(TestBoxFVGeometry, INHERITS_FROM(BoxModel));
SET_TYPE_PROP(TestBoxFVGeometry, Scalar, double);
SET_TYPE_PROP(TestBoxFVGeometry, Grid, Dune::YaspGrid<3>); SET_TYPE_PROP(TestBoxFVGeometry, Grid, Dune::YaspGrid<3>);
SET_BOOL_PROP(TestBoxFVGeometry, EnableFVGridGeometryCache, ENABLE_CACHING); SET_BOOL_PROP(TestBoxFVGeometry, EnableFVGridGeometryCache, ENABLE_CACHING);
} }
......
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