3 #ifndef DUNE_PDELAB_BACKEND_ISTL_UTILITY_HH 4 #define DUNE_PDELAB_BACKEND_ISTL_UTILITY_HH 6 #include <dune/common/typetraits.hh> 7 #include <dune/common/deprecated.hh> 27 DUNE_DEPRECATED_MSG(
"raw() is deprecated and will be removed after PDELab 2.4. Use Backend::native() instead")
35 DUNE_DEPRECATED_MSG(
"raw() is deprecated and will be removed after PDELab 2.4. Use Backend::native() instead")
36 const V&
raw(const V& v)
44 DUNE_DEPRECATED_MSG(
"raw_type<> is deprecated and will be removed after PDELab 2.4. Use Backend::Native<> instead")
52 #pragma GCC diagnostic push 53 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 55 template<
typename GFS,
typename C>
56 DUNE_DEPRECATED_MSG(
"raw() is deprecated and will be removed after PDELab 2.4. Use Backend::native() instead")
63 template<
typename GFS,
typename C>
64 DUNE_DEPRECATED_MSG(
"raw() is deprecated and will be removed after PDELab 2.4. Use Backend::native() instead")
71 template<
typename GFSU,
typename GFSV,
typename C,
typename Stats>
72 DUNE_DEPRECATED_MSG(
"raw() is deprecated and will be removed after PDELab 2.4. Use Backend::native() instead")
79 template<
typename GFSU,
typename GFSV,
typename C,
typename Stats>
80 DUNE_DEPRECATED_MSG(
"raw() is deprecated and will be removed after PDELab 2.4. Use Backend::native() instead")
87 template<
typename GFS,
typename C>
93 template<
typename GFSU,
typename GFSV,
typename C,
typename Stats>
94 struct raw_type<BCRSMatrix<GFSU,GFSV,C,Stats> >
99 #pragma GCC diagnostic pop 107 template<
typename T, std::
size_t depth,
typename Tag>
110 template<
typename T, std::
size_t depth>
112 :
public nesting_depth<typename T::block_type,depth+1,typename tags::container<typename T::block_type>::type::base_tag>
115 template<
typename T, std::
size_t depth>
117 :
public integral_constant<std::size_t,depth+1>
120 template<
typename T, std::
size_t depth>
122 :
public integral_constant<std::size_t,depth+1>
125 template<
typename T, std::
size_t depth>
127 :
public nesting_depth<typename T::block_type,depth+1,typename tags::container<typename T::block_type>::type::base_tag>
130 template<
typename T, std::
size_t depth>
132 :
public integral_constant<std::size_t,depth+1>
135 template<
typename T, std::
size_t depth>
137 :
public integral_constant<std::size_t,depth+1>
151 :
public impl::nesting_depth<T,0,typename tags::container<T>::type::base_tag>
158 #endif // DUNE_PDELAB_BACKEND_ISTL_UTILITY_HH C Container
Definition: istl/vector.hh:34
V & raw(V &v)
Returns the raw ISTL object associated with v, or v itself it is already an ISTL object.
Definition: backend/istl/utility.hh:28
Definition: istl/vector.hh:25
C Container
Definition: bcrsmatrix.hh:27
Definition: adaptivity.hh:27
const Container & base() const
Definition: bcrsmatrix.hh:204
Definition: bcrsmatrix.hh:17
TMP for figuring out the depth up to which ISTL containers are nested.
Definition: backend/istl/utility.hh:150
Returns the raw ISTL type associated with C, or C itself it is already an ISTL type.
Definition: backend/istl/utility.hh:43
Container & base()
Definition: istl/vector.hh:220
C type
Definition: backend/istl/utility.hh:47