3#ifndef DUNE_PDELAB_BACKEND_ISTL_UTILITY_HH
4#define DUNE_PDELAB_BACKEND_ISTL_UTILITY_HH
9#include <dune/pdelab/backend/istl/tags.hh>
25 template<
typename T, std::
size_t depth,
typename Tag>
28 template<
typename T, std::
size_t depth>
29 struct nesting_depth<T,depth,tags::block_vector>
30 :
public nesting_depth<typename T::block_type,depth+1,typename tags::container<typename T::block_type>::type::base_tag>
33 template<
typename T, std::
size_t depth>
34 struct nesting_depth<T,depth,tags::dynamic_vector>
35 :
public std::integral_constant<std::size_t,depth+1>
38 template<
typename T, std::
size_t depth>
39 struct nesting_depth<T,depth,tags::field_vector>
40 :
public std::integral_constant<std::size_t,depth+1>
43 template<
typename T, std::
size_t depth>
44 struct nesting_depth<T,depth,tags::bcrs_matrix>
45 :
public nesting_depth<typename T::block_type,depth+1,typename tags::container<typename T::block_type>::type::base_tag>
48 template<
typename T, std::
size_t depth>
49 struct nesting_depth<T,depth,tags::dynamic_matrix>
50 :
public std::integral_constant<std::size_t,depth+1>
53 template<
typename T, std::
size_t depth>
54 struct nesting_depth<T,depth,tags::field_matrix>
55 :
public std::integral_constant<std::size_t,depth+1>
69 :
public impl::nesting_depth<T,0,typename tags::container<T>::type::base_tag>
Definition of the DUNE_NO_DEPRECATED_* macros.
Traits for type conversions and type information.
Dune namespace.
Definition: alignedallocator.hh:13
TMP for figuring out the depth up to which ISTL containers are nested.
Definition: utility.hh:70