Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
AddDiagonalValuesKernel< MatrixType > Struct Template Reference

#include <Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp>

Public Types

typedef MatrixType::execution_space execution_space
typedef MatrixType::size_type size_type
typedef MatrixType::value_type value_type
typedef MatrixType::ordinal_type ordinal_type
typedef MatrixType::execution_space execution_space
typedef MatrixType::size_type size_type
typedef MatrixType::value_type value_type
typedef MatrixType::ordinal_type ordinal_type

Public Member Functions

 AddDiagonalValuesKernel (const MatrixType matrix)
KOKKOS_INLINE_FUNCTION void operator() (const size_type i) const
 AddDiagonalValuesKernel (const MatrixType matrix)
KOKKOS_INLINE_FUNCTION void operator() (const size_type i) const

Static Public Member Functions

static void apply (const MatrixType matrix)
static bool check (const MatrixType matrix, Teuchos::FancyOStream &out)
static void apply (const MatrixType matrix)
static bool check (const MatrixType matrix, Teuchos::FancyOStream &out)

Public Attributes

const MatrixType m_matrix

Detailed Description

template<typename MatrixType>
struct AddDiagonalValuesKernel< MatrixType >

Definition at line 248 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

Member Typedef Documentation

◆ execution_space [1/2]

template<typename MatrixType>
typedef MatrixType::execution_space AddDiagonalValuesKernel< MatrixType >::execution_space

Definition at line 249 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ size_type [1/2]

template<typename MatrixType>
typedef MatrixType::size_type AddDiagonalValuesKernel< MatrixType >::size_type

Definition at line 250 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ value_type [1/2]

template<typename MatrixType>
typedef MatrixType::value_type AddDiagonalValuesKernel< MatrixType >::value_type

Definition at line 251 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ ordinal_type [1/2]

template<typename MatrixType>
typedef MatrixType::ordinal_type AddDiagonalValuesKernel< MatrixType >::ordinal_type

Definition at line 252 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ execution_space [2/2]

template<typename MatrixType>
typedef MatrixType::execution_space AddDiagonalValuesKernel< MatrixType >::execution_space

Definition at line 363 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

◆ size_type [2/2]

template<typename MatrixType>
typedef MatrixType::size_type AddDiagonalValuesKernel< MatrixType >::size_type

Definition at line 364 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

◆ value_type [2/2]

template<typename MatrixType>
typedef MatrixType::value_type AddDiagonalValuesKernel< MatrixType >::value_type

Definition at line 365 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

◆ ordinal_type [2/2]

template<typename MatrixType>
typedef MatrixType::ordinal_type AddDiagonalValuesKernel< MatrixType >::ordinal_type

Definition at line 366 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

Constructor & Destructor Documentation

◆ AddDiagonalValuesKernel() [1/2]

template<typename MatrixType>
AddDiagonalValuesKernel< MatrixType >::AddDiagonalValuesKernel ( const MatrixType matrix)
inline

Definition at line 255 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ AddDiagonalValuesKernel() [2/2]

template<typename MatrixType>
AddDiagonalValuesKernel< MatrixType >::AddDiagonalValuesKernel ( const MatrixType matrix)
inline

Definition at line 369 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename MatrixType>
KOKKOS_INLINE_FUNCTION void AddDiagonalValuesKernel< MatrixType >::operator() ( const size_type i) const
inline

Definition at line 259 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ apply() [1/2]

template<typename MatrixType>
void AddDiagonalValuesKernel< MatrixType >::apply ( const MatrixType matrix)
inlinestatic

Definition at line 267 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ check() [1/2]

template<typename MatrixType>
bool AddDiagonalValuesKernel< MatrixType >::check ( const MatrixType matrix,
Teuchos::FancyOStream & out )
inlinestatic

Definition at line 273 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.

◆ operator()() [2/2]

template<typename MatrixType>
KOKKOS_INLINE_FUNCTION void AddDiagonalValuesKernel< MatrixType >::operator() ( const size_type i) const
inline

Definition at line 373 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

◆ apply() [2/2]

template<typename MatrixType>
void AddDiagonalValuesKernel< MatrixType >::apply ( const MatrixType matrix)
inlinestatic

Definition at line 381 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

◆ check() [2/2]

template<typename MatrixType>
bool AddDiagonalValuesKernel< MatrixType >::check ( const MatrixType matrix,
Teuchos::FancyOStream & out )
inlinestatic

Definition at line 387 of file Stokhos_KokkosCrsMatrixUQPCEUnitTest.hpp.

Member Data Documentation

◆ m_matrix

template<typename MatrixType>
const MatrixType AddDiagonalValuesKernel< MatrixType >::m_matrix

Definition at line 254 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp.


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