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

#include <Stokhos_CrsMatrix.hpp>

Public Types

typedef CrsMatrix< MatrixValue, Device, Layout > matrix_type
 
typedef std::vector< InputViewType > input_multi_vector_type
 
typedef std::vector< OutputViewType > output_multi_vector_type
 
typedef Device execution_space
 
typedef execution_space::size_type size_type
 
typedef OutputViewType::value_type scalar_type
 

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

const matrix_type m_A
 
const input_multi_vector_type m_x
 
output_multi_vector_type m_y
 
const size_type m_num_row
 
const size_type m_num_col
 

Static Public Attributes

static const size_type m_block_row_size = 32
 
static const size_type m_block_col_size = 20
 

Detailed Description

template<typename MatrixValue, typename Layout, typename Device, typename InputViewType, typename OutputViewType>
class Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >

Definition at line 437 of file Stokhos_CrsMatrix.hpp.

Member Typedef Documentation

◆ matrix_type

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
typedef CrsMatrix<MatrixValue,Device,Layout> Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::matrix_type

Definition at line 444 of file Stokhos_CrsMatrix.hpp.

◆ input_multi_vector_type

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
typedef std::vector<InputViewType> Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::input_multi_vector_type

Definition at line 445 of file Stokhos_CrsMatrix.hpp.

◆ output_multi_vector_type

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
typedef std::vector<OutputViewType> Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::output_multi_vector_type

Definition at line 446 of file Stokhos_CrsMatrix.hpp.

◆ execution_space

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
typedef Device Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::execution_space

Definition at line 448 of file Stokhos_CrsMatrix.hpp.

◆ size_type

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
typedef execution_space::size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::size_type

Definition at line 449 of file Stokhos_CrsMatrix.hpp.

◆ scalar_type

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
typedef OutputViewType::value_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::scalar_type

Definition at line 450 of file Stokhos_CrsMatrix.hpp.

Constructor & Destructor Documentation

◆ Multiply()

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::Multiply ( const matrix_type A,
const input_multi_vector_type x,
output_multi_vector_type y 
)
inline

Definition at line 461 of file Stokhos_CrsMatrix.hpp.

Member Function Documentation

◆ operator()()

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
KOKKOS_INLINE_FUNCTION void Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::operator() ( const size_type  iBlockRow) const
inline

Definition at line 475 of file Stokhos_CrsMatrix.hpp.

◆ apply()

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
static void Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::apply ( const matrix_type A,
const input_multi_vector_type x,
output_multi_vector_type y 
)
inlinestatic

Definition at line 516 of file Stokhos_CrsMatrix.hpp.

Member Data Documentation

◆ m_A

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
const matrix_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_A

Definition at line 452 of file Stokhos_CrsMatrix.hpp.

◆ m_x

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
const input_multi_vector_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_x

Definition at line 453 of file Stokhos_CrsMatrix.hpp.

◆ m_y

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
output_multi_vector_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_y

Definition at line 454 of file Stokhos_CrsMatrix.hpp.

◆ m_num_row

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
const size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_num_row

Definition at line 455 of file Stokhos_CrsMatrix.hpp.

◆ m_num_col

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
const size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_num_col

Definition at line 456 of file Stokhos_CrsMatrix.hpp.

◆ m_block_row_size

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
const size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_block_row_size = 32
static

Definition at line 458 of file Stokhos_CrsMatrix.hpp.

◆ m_block_col_size

template<typename MatrixValue , typename Layout , typename Device , typename InputViewType , typename OutputViewType >
const size_type Stokhos::Multiply< CrsMatrix< MatrixValue, Device, Layout >, std::vector< InputViewType >, std::vector< OutputViewType >, void, IntegralRank< 1 > >::m_block_col_size = 20
static

Definition at line 459 of file Stokhos_CrsMatrix.hpp.


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