Stokhos Development
Loading...
Searching...
No Matches
Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace > Class Template Reference

Sparse product tensor with replicated entries to provide subsets with a given coordinate. More...

#include <Stokhos_LexicographicBlockSparse3Tensor.hpp>

Public Types

typedef ExecutionSpace execution_space
typedef execution_space::size_type size_type
typedef ValueType value_type

Public Member Functions

 LexicographicBlockSparse3Tensor (const LexicographicBlockSparse3Tensor &rhs)
LexicographicBlockSparse3Tensor & operator= (const LexicographicBlockSparse3Tensor &rhs)
KOKKOS_INLINE_FUNCTION size_type dimension () const
 Dimension of the tensor.
KOKKOS_INLINE_FUNCTION size_type num_coord () const
 Number of coordinates.
KOKKOS_INLINE_FUNCTION size_type num_value () const
 Number of values.
KOKKOS_INLINE_FUNCTION int get_i_begin (const size_type entry) const
KOKKOS_INLINE_FUNCTION int get_j_begin (const size_type entry) const
KOKKOS_INLINE_FUNCTION int get_k_begin (const size_type entry) const
KOKKOS_INLINE_FUNCTION int get_p_i (const size_type entry) const
KOKKOS_INLINE_FUNCTION int get_p_j (const size_type entry) const
KOKKOS_INLINE_FUNCTION int get_p_k (const size_type entry) const
KOKKOS_INLINE_FUNCTION int get_j_eq_k (const size_type entry) const
KOKKOS_INLINE_FUNCTION const value_type & value (const size_type entry) const
 Cijk for entry 'entry'.
KOKKOS_INLINE_FUNCTION size_type num_non_zeros () const
 Number of non-zero's.
KOKKOS_INLINE_FUNCTION size_type num_flops () const
 Number flop's per multiply-add.
KOKKOS_INLINE_FUNCTION bool symmetric () const
 Is PDF symmetric.

Static Public Member Functions

template<typename OrdinalType>
static LexicographicBlockSparse3Tensor create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::LTBSparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList &params=Teuchos::ParameterList())

Detailed Description

template<typename ValueType, class ExecutionSpace>
class Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >

Sparse product tensor with replicated entries to provide subsets with a given coordinate.


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