Skip to content
Snippets Groups Projects
Commit 1092255f authored by Dennis Gläser's avatar Dennis Gläser
Browse files

remove MaxNumNeighborsPerScvf property

This is not used anymore now after the last commit
parent 84a79ced
No related branches found
No related tags found
1 merge request!774Cleanup/mpfa
......@@ -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:
......
......@@ -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)
{
......
......@@ -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>);
......
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