Intrepid2
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Intrepid2::SingleArgExtractor< reference_type, whichArg > Class Template Reference

Argument extractor class which passes a single argument, indicated by the template parameter whichArg, to the provided container. More...

#include <Intrepid2_ArgExtractor.hpp>

Public Types

template<bool B, class T = reference_type>
using enable_if_t = typename std::enable_if< B, T >::type
 

Static Public Member Functions

template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==0 > 
get (const ViewType &view, const int_type &i0)
 
template<class ViewType , class int_type , class... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==0 > 
get (const ViewType &view, const int_type &i0, const IntArgs &...intArgs)
 
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==1 > 
get (const ViewType &view, const int_type &i0, const int_type &i1)
 
template<class ViewType , class int_type , class... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==1 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const IntArgs &...intArgs)
 
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==2 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2)
 
template<class ViewType , class int_type , class... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==2 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const IntArgs &...intArgs)
 
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==3 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const int_type &i3)
 
template<class ViewType , class int_type , class... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==3 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const int_type &i3, const IntArgs &...intArgs)
 
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==4 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const int_type &i3, const int_type &i4)
 
template<class ViewType , class int_type , class... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==4 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const int_type &i3, const int_type &i4, const IntArgs &...intArgs)
 
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==5 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const int_type &i3, const int_type &i4, const int_type &i5)
 
template<class ViewType , class int_type , class... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION
enable_if_t< M==5 > 
get (const ViewType &view, const int_type &i0, const int_type &i1, const int_type &i2, const int_type &i3, const int_type &i4, const int_type &i5, const IntArgs &...intArgs)
 
template<class ViewType , class... IntArgs>
static KOKKOS_INLINE_FUNCTION
reference_type 
get (const ViewType &view, const IntArgs &...intArgs)
 

Static Public Attributes

template<class ViewType , class... IntArgs>
static KOKKOS_INLINE_FUNCTION enable_if_t< whichArg > = sizeof...(IntArgs)
 

Detailed Description

template<class reference_type, int whichArg>
class Intrepid2::SingleArgExtractor< reference_type, whichArg >

Argument extractor class which passes a single argument, indicated by the template parameter whichArg, to the provided container.

Definition at line 90 of file Intrepid2_ArgExtractor.hpp.


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