Skip to content
Snippets Groups Projects
Commit 9d1b9515 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[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.
parent 4fa85a3e
No related branches found
No related tags found
1 merge request!1431Feature/facetcoupling with mpfa
...@@ -45,7 +45,7 @@ struct NodalIndexSetDefaultTraits ...@@ -45,7 +45,7 @@ struct NodalIndexSetDefaultTraits
{ {
using GridView = GV; using GridView = GV;
using GridIndexType = typename IndexTraits<GV>::GridIndex; 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) //! per default, we use dynamic data containers (iv size unknown)
template< class T > using NodalScvDataStorage = std::vector< T >; template< class T > using NodalScvDataStorage = std::vector< T >;
......
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