From df6c5ab5cc6c13a9ef66c2298fc2c0f93a9a6ce4 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 3 Apr 2018 19:58:36 +0200
Subject: [PATCH] Remove property ElementVolumeVariables

---
 dumux/common/properties.hh                            | 1 -
 dumux/discretization/box/properties.hh                | 3 ---
 dumux/discretization/staggered/properties.hh          | 6 ------
 test/porousmediumflow/mpnc/implicit/plotoverline2d.hh | 1 -
 4 files changed, 11 deletions(-)

diff --git a/dumux/common/properties.hh b/dumux/common/properties.hh
index b20c98fbb6..4bef62a5a7 100644
--- a/dumux/common/properties.hh
+++ b/dumux/common/properties.hh
@@ -80,7 +80,6 @@ NEW_PROP_TAG(FVGridGeometry);                      //!< The type of the global f
 NEW_PROP_TAG(EnableFVGridGeometryCache);           //!< specifies if geometric data is saved (faster, but more memory consuming)
 
 NEW_PROP_TAG(VolumeVariables);                     //!< The secondary variables within a sub-control volume
-NEW_PROP_TAG(ElementVolumeVariables);              //!< The type for a local (element/stencil) container for the volume variables
 NEW_PROP_TAG(GridVolumeVariables);                 //!< The type for a global container for the volume variables
 NEW_PROP_TAG(EnableGridVolumeVariablesCache);      //!< If disabled, the volume variables are not stored (reduces memory, but is slower)
 NEW_PROP_TAG(FluxVariables);                       //!< Container storing the different types of flux variables
diff --git a/dumux/discretization/box/properties.hh b/dumux/discretization/box/properties.hh
index d01f5227d3..956690ebc5 100644
--- a/dumux/discretization/box/properties.hh
+++ b/dumux/discretization/box/properties.hh
@@ -73,9 +73,6 @@ public:
     using type = BoxGridVolumeVariables<Problem, VolumeVariables, enableCache>;
 };
 
-//! The element volume variables vector class
-SET_TYPE_PROP(BoxModel, ElementVolumeVariables, typename GET_PROP_TYPE(TypeTag, GridVolumeVariables)::LocalView);
-
 //! Set the default for the ElementBoundaryTypes
 SET_TYPE_PROP(BoxModel, ElementBoundaryTypes, BoxElementBoundaryTypes<typename GET_PROP_TYPE(TypeTag, BoundaryTypes)>);
 
diff --git a/dumux/discretization/staggered/properties.hh b/dumux/discretization/staggered/properties.hh
index 92cdb7043a..12a959d45f 100644
--- a/dumux/discretization/staggered/properties.hh
+++ b/dumux/discretization/staggered/properties.hh
@@ -100,12 +100,6 @@ public:
     using type = StaggeredGridVolumeVariables<FVGridGeometry, Traits, enableCache>;
 };
 
-//! Set the element volume variables class
-SET_PROP(StaggeredModel, ElementVolumeVariables)
-{
-    using type = typename GET_PROP_TYPE(TypeTag, GridVolumeVariables)::LocalView;
-};
-
 //! Set the global flux variables cache vector class
 SET_PROP(StaggeredModel, GridFluxVariablesCache)
 {
diff --git a/test/porousmediumflow/mpnc/implicit/plotoverline2d.hh b/test/porousmediumflow/mpnc/implicit/plotoverline2d.hh
index 7d7c3b53d4..bed0a2db53 100644
--- a/test/porousmediumflow/mpnc/implicit/plotoverline2d.hh
+++ b/test/porousmediumflow/mpnc/implicit/plotoverline2d.hh
@@ -51,7 +51,6 @@ namespace Properties
     NEW_PROP_TAG(TwoPIAIndices);
     NEW_PROP_TAG(NumEq);
     NEW_PROP_TAG(MaterialLaw);
-    NEW_PROP_TAG(ElementVolumeVariables);
     NEW_PROP_TAG(AwnSurface);
     NEW_PROP_TAG(AwnSurfaceParams);
 }
-- 
GitLab