From 3e580f4e1b563219d221d1f7d10683d7954fc7ea Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Mon, 18 Dec 2017 19:06:30 +0100 Subject: [PATCH] [staggered] Do not set NumEqVector, it uses the default. --- dumux/discretization/staggered/freeflow/properties.hh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dumux/discretization/staggered/freeflow/properties.hh b/dumux/discretization/staggered/freeflow/properties.hh index 49b3a176ee..8dbac411bc 100644 --- a/dumux/discretization/staggered/freeflow/properties.hh +++ b/dumux/discretization/staggered/freeflow/properties.hh @@ -44,10 +44,6 @@ namespace Properties //! Type tag for the staggered scheme specialized for free flow. NEW_TYPE_TAG(StaggeredFreeFlowModel, INHERITS_FROM(StaggeredModel)); -// TODO: Ugly hack. How can this be improved? This is needed, because otherwise the physical model overwrites the properties set here. -// This requires to include the physical model before the discretization, otherwise the type tag FreeFlow is undefined. -UNSET_PROP(FreeFlow, NumEqVector); - /*! * \brief Set the number of equations on the faces to 1. We only consider scalar values because the velocity vector * is normal to the face. @@ -103,12 +99,6 @@ public: //! The variables living on the faces SET_TYPE_PROP(StaggeredFreeFlowModel, FaceVariables, StaggeredFaceVariables<TypeTag>); -//! A container class used to specify values for sources and Neumann BCs -SET_PROP(StaggeredFreeFlowModel, NumEqVector) -{ - using type = Dune::FieldVector<typename GET_PROP_TYPE(TypeTag, Scalar), GET_PROP_VALUE(TypeTag, NumEq)>; -}; - //! Boundary types at a single degree of freedom SET_PROP(StaggeredFreeFlowModel, BoundaryTypes) { -- GitLab