Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > > Class Template Reference

#include <Stokhos_CrsMatrix.hpp>

Public Types

typedef CrsMatrix< MatrixValue, Device, Layout > matrix_type
 
typedef InputMultiVectorType input_multi_vector_type
 
typedef OutputMultiVectorType output_multi_vector_type
 
typedef std::vector< OrdinalType > column_indices_type
 
typedef Device execution_space
 
typedef execution_space::size_type size_type
 
typedef output_multi_vector_type::value_type scalar_type
 

Public Member Functions

 Multiply (const matrix_type &A, const input_multi_vector_type &x, output_multi_vector_type &y, const column_indices_type &col_indices)
 
KOKKOS_INLINE_FUNCTION void operator() (const size_type iRow) const
 

Static Public Member Functions

static void apply (const matrix_type &A, const input_multi_vector_type &x, output_multi_vector_type &y, const column_indices_type &col)
 

Public Attributes

const matrix_type m_A
 
const input_multi_vector_type m_x
 
output_multi_vector_type m_y
 
const column_indices_type m_col_indices
 
const size_type m_num_vecs
 

Detailed Description

template<typename MatrixValue, typename Layout, typename Device, typename InputMultiVectorType, typename OutputMultiVectorType, typename OrdinalType>
class Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >

Definition at line 167 of file Stokhos_CrsMatrix.hpp.

Member Typedef Documentation

◆ matrix_type

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef CrsMatrix<MatrixValue,Device,Layout> Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::matrix_type

Definition at line 174 of file Stokhos_CrsMatrix.hpp.

◆ input_multi_vector_type

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef InputMultiVectorType Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::input_multi_vector_type

Definition at line 175 of file Stokhos_CrsMatrix.hpp.

◆ output_multi_vector_type

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef OutputMultiVectorType Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::output_multi_vector_type

Definition at line 176 of file Stokhos_CrsMatrix.hpp.

◆ column_indices_type

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef std::vector<OrdinalType> Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::column_indices_type

Definition at line 177 of file Stokhos_CrsMatrix.hpp.

◆ execution_space

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef Device Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::execution_space

Definition at line 179 of file Stokhos_CrsMatrix.hpp.

◆ size_type

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef execution_space::size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::size_type

Definition at line 180 of file Stokhos_CrsMatrix.hpp.

◆ scalar_type

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
typedef output_multi_vector_type::value_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::scalar_type

Definition at line 181 of file Stokhos_CrsMatrix.hpp.

Constructor & Destructor Documentation

◆ Multiply()

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::Multiply ( const matrix_type A,
const input_multi_vector_type x,
output_multi_vector_type y,
const column_indices_type col_indices 
)
inline

Definition at line 189 of file Stokhos_CrsMatrix.hpp.

Member Function Documentation

◆ operator()()

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
KOKKOS_INLINE_FUNCTION void Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::operator() ( const size_type  iRow) const
inline

Definition at line 203 of file Stokhos_CrsMatrix.hpp.

◆ apply()

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
static void Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::apply ( const matrix_type A,
const input_multi_vector_type x,
output_multi_vector_type y,
const column_indices_type col 
)
inlinestatic

Definition at line 223 of file Stokhos_CrsMatrix.hpp.

Member Data Documentation

◆ m_A

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
const matrix_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::m_A

Definition at line 183 of file Stokhos_CrsMatrix.hpp.

◆ m_x

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
const input_multi_vector_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::m_x

Definition at line 184 of file Stokhos_CrsMatrix.hpp.

◆ m_y

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
output_multi_vector_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::m_y

Definition at line 185 of file Stokhos_CrsMatrix.hpp.

◆ m_col_indices

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
const column_indices_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::m_col_indices

Definition at line 186 of file Stokhos_CrsMatrix.hpp.

◆ m_num_vecs

template<typename MatrixValue , typename Layout , typename Device , typename InputMultiVectorType , typename OutputMultiVectorType , typename OrdinalType >
const size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, InputMultiVectorType, OutputMultiVectorType, std::vector< OrdinalType >, IntegralRank< 2 > >::m_num_vecs

Definition at line 187 of file Stokhos_CrsMatrix.hpp.


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