From 9d1b95155fe28314a987ddecb1c88262e56cb0f4 Mon Sep 17 00:00:00 2001 From: "Dennis.Glaeser" <dennis.glaeser@iws.uni-stuttgart.de> Date: Mon, 11 Feb 2019 19:09:39 +0100 Subject: [PATCH] [mpfa][localindexset] do not use small local index type On 3d grids, the maximum value of 8-bit integer types can easily be surpassed for the local indices within interaction volumes. We use the larger local index type now. This way we should always be on the safe side. --- dumux/discretization/cellcentered/mpfa/dualgridindexset.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/discretization/cellcentered/mpfa/dualgridindexset.hh b/dumux/discretization/cellcentered/mpfa/dualgridindexset.hh index eae2b64ac8..c0fa9de3a3 100644 --- a/dumux/discretization/cellcentered/mpfa/dualgridindexset.hh +++ b/dumux/discretization/cellcentered/mpfa/dualgridindexset.hh @@ -45,7 +45,7 @@ struct NodalIndexSetDefaultTraits { using GridView = GV; using GridIndexType = typename IndexTraits<GV>::GridIndex; - using LocalIndexType = typename IndexTraits<GV>::SmallLocalIndex; + using LocalIndexType = typename IndexTraits<GV>::LocalIndex; //! per default, we use dynamic data containers (iv size unknown) template< class T > using NodalScvDataStorage = std::vector< T >; -- GitLab