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)
 
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 56 of file Intrepid2_ArgExtractor.hpp.

Member Typedef Documentation

◆ enable_if_t

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

Definition at line 59 of file Intrepid2_ArgExtractor.hpp.

Member Function Documentation

◆ get() [1/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==0 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0 
)
inlinestatic

Definition at line 64 of file Intrepid2_ArgExtractor.hpp.

◆ get() [2/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==1 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1 
)
inlinestatic

Definition at line 80 of file Intrepid2_ArgExtractor.hpp.

◆ get() [3/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==2 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1,
const int_type &  i2 
)
inlinestatic

Definition at line 96 of file Intrepid2_ArgExtractor.hpp.

◆ get() [4/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==3 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1,
const int_type &  i2,
const int_type &  i3 
)
inlinestatic

Definition at line 112 of file Intrepid2_ArgExtractor.hpp.

◆ get() [5/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==4 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1,
const int_type &  i2,
const int_type &  i3,
const int_type &  i4 
)
inlinestatic

Definition at line 128 of file Intrepid2_ArgExtractor.hpp.

◆ get() [6/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==5 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::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 
)
inlinestatic

Definition at line 144 of file Intrepid2_ArgExtractor.hpp.

◆ get() [7/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , class ... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==5 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::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 
)
inlinestatic

Definition at line 152 of file Intrepid2_ArgExtractor.hpp.

◆ get() [8/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , class ... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==4 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::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 
)
inlinestatic

Definition at line 136 of file Intrepid2_ArgExtractor.hpp.

◆ get() [9/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , class ... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==3 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1,
const int_type &  i2,
const int_type &  i3,
const IntArgs &...  intArgs 
)
inlinestatic

Definition at line 120 of file Intrepid2_ArgExtractor.hpp.

◆ get() [10/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , class ... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==2 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1,
const int_type &  i2,
const IntArgs &...  intArgs 
)
inlinestatic

Definition at line 104 of file Intrepid2_ArgExtractor.hpp.

◆ get() [11/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , class ... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==1 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const int_type &  i1,
const IntArgs &...  intArgs 
)
inlinestatic

Definition at line 88 of file Intrepid2_ArgExtractor.hpp.

◆ get() [12/13]

template<class reference_type , int whichArg>
template<class ViewType , class int_type , class ... IntArgs, int M = whichArg>
static KOKKOS_INLINE_FUNCTION enable_if_t< M==0 > Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const int_type &  i0,
const IntArgs &...  intArgs 
)
inlinestatic

Definition at line 72 of file Intrepid2_ArgExtractor.hpp.

◆ get() [13/13]

template<class reference_type , int whichArg>
static KOKKOS_INLINE_FUNCTION reference_type Intrepid2::SingleArgExtractor< reference_type, whichArg >::get ( const ViewType &  view,
const IntArgs &...  intArgs 
)
inlinestatic

Definition at line 172 of file Intrepid2_ArgExtractor.hpp.

Member Data Documentation

◆ enable_if_t< whichArg >

template<class reference_type , int whichArg>
template<class ViewType , class ... IntArgs>
KOKKOS_INLINE_FUNCTION Intrepid2::SingleArgExtractor< reference_type, whichArg >::enable_if_t< whichArg > = sizeof...(IntArgs)
static

Definition at line 170 of file Intrepid2_ArgExtractor.hpp.


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