dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Hybrid::CompositeIndex< component, I, offset, SI > Struct Template Reference

#include <dune/fem/common/hybrid.hh>

Public Types

typedef I FlatIndex
 
typedef SI SubIndex
 

Public Member Functions

constexpr CompositeIndex (SubIndex subIndex)
 
constexpr operator I () const
 
template<std::size_t i>
constexpr auto operator[] (std::integral_constant< std::size_t, i >) const -> std::enable_if_t< !IsIntegralConstant< Access< i > >::value, Access< i > >
 
template<std::size_t i>
constexpr auto operator[] (std::integral_constant< std::size_t, i >) const -> std::enable_if_t< IsIntegralConstant< Access< i > >::value, std::decay_t< Access< i > > >
 
const SubIndexsubIndex () const
 

Member Typedef Documentation

◆ FlatIndex

template<std::size_t component, class I , I offset, class SI >
typedef I Dune::Hybrid::CompositeIndex< component, I, offset, SI >::FlatIndex

◆ SubIndex

template<std::size_t component, class I , I offset, class SI >
typedef SI Dune::Hybrid::CompositeIndex< component, I, offset, SI >::SubIndex

Constructor & Destructor Documentation

◆ CompositeIndex()

template<std::size_t component, class I , I offset, class SI >
constexpr Dune::Hybrid::CompositeIndex< component, I, offset, SI >::CompositeIndex ( SubIndex  subIndex)
inlineexplicitconstexpr

Member Function Documentation

◆ operator I()

template<std::size_t component, class I , I offset, class SI >
constexpr Dune::Hybrid::CompositeIndex< component, I, offset, SI >::operator I ( ) const
inlineconstexpr

◆ operator[]() [1/2]

template<std::size_t component, class I , I offset, class SI >
template<std::size_t i>
constexpr auto Dune::Hybrid::CompositeIndex< component, I, offset, SI >::operator[] ( std::integral_constant< std::size_t, i >  ) const -> std::enable_if_t< !IsIntegralConstant< Access< i > >::value, Access< i > >
inlineconstexpr

◆ operator[]() [2/2]

template<std::size_t component, class I , I offset, class SI >
template<std::size_t i>
constexpr auto Dune::Hybrid::CompositeIndex< component, I, offset, SI >::operator[] ( std::integral_constant< std::size_t, i >  ) const -> std::enable_if_t< IsIntegralConstant< Access< i > >::value, std::decay_t< Access< i > > >
inlineconstexpr

◆ subIndex()

template<std::size_t component, class I , I offset, class SI >
const SubIndex & Dune::Hybrid::CompositeIndex< component, I, offset, SI >::subIndex ( ) const
inline

The documentation for this struct was generated from the following file: