Skip to content
Snippets Groups Projects
Commit a57fcfc7 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[md][traits] Add alias to create tuple from indexed type

parent 1bea793c
No related branches found
No related tags found
1 merge request!1179[md][bugfix] Fix memory leak due to cyclic shared_ptr dependency couplingmanager<->problem
...@@ -170,6 +170,10 @@ public: ...@@ -170,6 +170,10 @@ public:
//! the tuple of grid variables //! the tuple of grid variables
using GridVariablesTuple = typename makeFromIndexedType<std::tuple, SubDomainGridVariables, Indices>::type; using GridVariablesTuple = typename makeFromIndexedType<std::tuple, SubDomainGridVariables, Indices>::type;
//! convenience alias to create tuple from type
template<template<std::size_t> class T>
using MakeTuple = typename makeFromIndexedType<std::tuple, T, Indices>::type;
}; };
} //end namespace Dumux } //end namespace Dumux
......
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