Sacado Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ScalarAssignKernel< ViewType, ScalarType > Struct Template Reference

#include <Fad_KokkosTests.hpp>

Public Types

typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 

Public Member Functions

 ScalarAssignKernel (const ViewType &v, const ScalarType &s)
 
KOKKOS_INLINE_FUNCTION void operator() (const size_type i) const
 

Static Public Member Functions

static void apply (const ViewType &v, const ScalarType &s)
 

Public Attributes

const ViewType m_v
 
const ScalarType m_s
 

Detailed Description

template<typename ViewType, typename ScalarType>
struct ScalarAssignKernel< ViewType, ScalarType >

Definition at line 118 of file Fad_KokkosTests.hpp.

Member Typedef Documentation

◆ execution_space

template<typename ViewType , typename ScalarType >
typedef ViewType::execution_space ScalarAssignKernel< ViewType, ScalarType >::execution_space

Definition at line 119 of file Fad_KokkosTests.hpp.

◆ size_type

template<typename ViewType , typename ScalarType >
typedef ViewType::size_type ScalarAssignKernel< ViewType, ScalarType >::size_type

Definition at line 120 of file Fad_KokkosTests.hpp.

Constructor & Destructor Documentation

◆ ScalarAssignKernel()

template<typename ViewType , typename ScalarType >
ScalarAssignKernel< ViewType, ScalarType >::ScalarAssignKernel ( const ViewType &  v,
const ScalarType &  s 
)
inline

Definition at line 125 of file Fad_KokkosTests.hpp.

Member Function Documentation

◆ operator()()

template<typename ViewType , typename ScalarType >
KOKKOS_INLINE_FUNCTION void ScalarAssignKernel< ViewType, ScalarType >::operator() ( const size_type  i) const
inline

Definition at line 130 of file Fad_KokkosTests.hpp.

◆ apply()

template<typename ViewType , typename ScalarType >
static void ScalarAssignKernel< ViewType, ScalarType >::apply ( const ViewType &  v,
const ScalarType &  s 
)
inlinestatic

Definition at line 135 of file Fad_KokkosTests.hpp.

Member Data Documentation

◆ m_v

template<typename ViewType , typename ScalarType >
const ViewType ScalarAssignKernel< ViewType, ScalarType >::m_v

Definition at line 122 of file Fad_KokkosTests.hpp.

◆ m_s

template<typename ViewType , typename ScalarType >
const ScalarType ScalarAssignKernel< ViewType, ScalarType >::m_s

Definition at line 123 of file Fad_KokkosTests.hpp.


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