diff --git a/dumux/common/properties.hh b/dumux/common/properties.hh index 066292109d320ca94438e8c76066311162c81a8d..3ac71613f4bcfec3db3bc0f8000e45c5ddbb5482 100644 --- a/dumux/common/properties.hh +++ b/dumux/common/properties.hh @@ -91,7 +91,6 @@ NEW_PROP_TAG(ElementFluxVariablesCache); //!< A local vector of flux v NEW_PROP_TAG(GridFluxVariablesCache); //!< The global vector of flux variable containers NEW_PROP_TAG(EnableGridFluxVariablesCache); //!< specifies if data on flux vars should be saved (faster, but more memory consuming) NEW_PROP_TAG(GridVariables); //!< The grid variables object managing variable data on the grid (volvars/fluxvars cache) -NEW_PROP_TAG(MaxNumNeighborsPerScvf); //!< The maximum number of neighboring elements allowed per scvf (for static memory allocation) ///////////////////////////////////////////////////////////////// // Additional properties used by the cell-centered mpfa schemes: diff --git a/dumux/discretization/cellcentered/mpfa/properties.hh b/dumux/discretization/cellcentered/mpfa/properties.hh index d861dd3b814ebb84498a76e81c9809d3dac213d8..3f9cba7bc470264286d22f48471dacbaa3a46c42 100644 --- a/dumux/discretization/cellcentered/mpfa/properties.hh +++ b/dumux/discretization/cellcentered/mpfa/properties.hh @@ -66,19 +66,6 @@ SET_PROP(CCMpfaModel, DiscretizationMethod) static const DiscretizationMethods value = DiscretizationMethods::CCMpfa; }; -//! Set the maximum admissible number of branches per scvf -SET_PROP(CCMpfaModel, MaxNumNeighborsPerScvf) -{ -private: - using GridView = typename GET_PROP_TYPE(TypeTag, GridView); - static constexpr int dim = GridView::dimension; - static constexpr int dimWorld = GridView::dimensionworld; - -public: - // Per default, we allow for 8 neighbors on network/surface grids - static constexpr std::size_t value = dim < dimWorld ? 9 : 2; -}; - //! Set the index set type used on the dual grid nodes SET_PROP(CCMpfaModel, DualGridNodalIndexSet) { diff --git a/dumux/discretization/cellcentered/tpfa/properties.hh b/dumux/discretization/cellcentered/tpfa/properties.hh index c0efc9cdb342547361e7d01e8e3a7b79048c2a28..8e9cb32413add7152cf826cd722ceb885fb6fa92 100644 --- a/dumux/discretization/cellcentered/tpfa/properties.hh +++ b/dumux/discretization/cellcentered/tpfa/properties.hh @@ -85,19 +85,6 @@ SET_TYPE_PROP(CCTpfaModel, ElementFluxVariablesCache, CCTpfaElementFluxVariables //! The global current volume variables vector class SET_TYPE_PROP(CCTpfaModel, GridVolumeVariables, CCGridVolumeVariables<TypeTag, GET_PROP_VALUE(TypeTag, EnableGridVolumeVariablesCache)>); -//! Set the maximum admissible number of branches per scvf -SET_PROP(CCTpfaModel, MaxNumNeighborsPerScvf) -{ -private: - using GridView = typename GET_PROP_TYPE(TypeTag, GridView); - static constexpr int dim = GridView::dimension; - static constexpr int dimWorld = GridView::dimensionworld; - -public: - // Per default, we allow for 8 neighbors on network/surface grids - static constexpr std::size_t value = dim < dimWorld ? 9 : 2; -}; - //! Set the solution vector type for an element SET_TYPE_PROP(CCTpfaModel, ElementSolutionVector, CCElementSolution<TypeTag>);