Intrepid2
Public Types | Static Public Member Functions | 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 enable_if_t< whichArg >=sizeof...(IntArgs), reference_type > get (const ViewType &view, const IntArgs &... 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.

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 93 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 98 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 114 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 130 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 146 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 162 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 178 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 186 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 170 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 154 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 138 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 122 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 106 of file Intrepid2_ArgExtractor.hpp.

◆ get() [13/13]

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

Definition at line 206 of file Intrepid2_ArgExtractor.hpp.


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