Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Sparse product tensor with replicated entries to provide subsets with a given coordinate. More...
#include <Stokhos_FlatSparse3Tensor.hpp>
Public Types | |
typedef ExecutionSpace | execution_space |
typedef execution_space::size_type | size_type |
typedef ValueType | value_type |
Public Member Functions | |
~FlatSparse3Tensor () | |
FlatSparse3Tensor () | |
FlatSparse3Tensor (const FlatSparse3Tensor &rhs) | |
FlatSparse3Tensor & | operator= (const FlatSparse3Tensor &rhs) |
KOKKOS_INLINE_FUNCTION size_type | dimension () const |
Dimension of the tensor. More... | |
KOKKOS_INLINE_FUNCTION size_type | entry_count () const |
Number of sparse entries. More... | |
KOKKOS_INLINE_FUNCTION size_type | k_begin (size_type i) const |
Begin k entries with a coordinate 'i'. More... | |
KOKKOS_INLINE_FUNCTION size_type | k_end (size_type i) const |
End k entries with a coordinate 'i'. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_k (size_type i) const |
Number of k entries with a coordinate 'i'. More... | |
KOKKOS_INLINE_FUNCTION const size_type & | k_coord (const size_type kEntry) const |
k coordinate for k entry 'kEntry' More... | |
KOKKOS_INLINE_FUNCTION size_type | j_begin (size_type kEntry) const |
Begin j entries with a k entry 'kEntry'. More... | |
KOKKOS_INLINE_FUNCTION size_type | j_end (size_type kEntry) const |
End j entries with a k entry 'kEntry'. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_j (size_type kEntry) const |
Number of j entries with a k entry 'kEntry'. More... | |
KOKKOS_INLINE_FUNCTION const size_type & | j_coord (const size_type jEntry) const |
j coordinate for j entry 'jEntry' More... | |
KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type jEntry) const |
Value for j entry 'jEntry'. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_non_zeros () const |
Number of non-zero's. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_flops () const |
Number flop's per multiply-add. More... | |
Static Public Member Functions | |
template<typename OrdinalType > | |
static FlatSparse3Tensor | create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList ¶ms=Teuchos::ParameterList()) |
Private Types | |
typedef Kokkos::View < size_type[], execution_space > | coord_array_type |
typedef Kokkos::View < value_type[], execution_space > | value_array_type |
typedef Kokkos::View < size_type[], execution_space > | entry_array_type |
typedef Kokkos::View < size_type[], execution_space > | row_map_array_type |
Sparse product tensor with replicated entries to provide subsets with a given coordinate.
Definition at line 62 of file Stokhos_FlatSparse3Tensor.hpp.
typedef ExecutionSpace Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >::execution_space |
Definition at line 65 of file Stokhos_FlatSparse3Tensor.hpp.
typedef execution_space::size_type Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >::size_type |
Definition at line 66 of file Stokhos_FlatSparse3Tensor.hpp.
typedef ValueType Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >::value_type |
Definition at line 67 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 71 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 72 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 73 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 74 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 89 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 92 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 104 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 116 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Dimension of the tensor.
Definition at line 132 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of sparse entries.
Definition at line 136 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Begin k entries with a coordinate 'i'.
Definition at line 141 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
End k entries with a coordinate 'i'.
Definition at line 146 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of k entries with a coordinate 'i'.
Definition at line 151 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
k coordinate for k entry 'kEntry'
Definition at line 156 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Begin j entries with a k entry 'kEntry'.
Definition at line 161 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
End j entries with a k entry 'kEntry'.
Definition at line 166 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of j entries with a k entry 'kEntry'.
Definition at line 171 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
j coordinate for j entry 'jEntry'
Definition at line 176 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Value for j entry 'jEntry'.
Definition at line 181 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of non-zero's.
Definition at line 186 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number flop's per multiply-add.
Definition at line 191 of file Stokhos_FlatSparse3Tensor.hpp.
|
inlinestatic |
Definition at line 196 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 76 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 77 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 78 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 79 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 80 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 81 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 82 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 83 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 84 of file Stokhos_FlatSparse3Tensor.hpp.