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 30 of file Stokhos_FlatSparse3Tensor.hpp.
typedef ExecutionSpace Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >::execution_space |
Definition at line 33 of file Stokhos_FlatSparse3Tensor.hpp.
typedef execution_space::size_type Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >::size_type |
Definition at line 34 of file Stokhos_FlatSparse3Tensor.hpp.
typedef ValueType Stokhos::FlatSparse3Tensor< ValueType, ExecutionSpace >::value_type |
Definition at line 35 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 39 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 40 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 41 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 42 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 57 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 60 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 72 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Definition at line 84 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Dimension of the tensor.
Definition at line 100 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of sparse entries.
Definition at line 104 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Begin k entries with a coordinate 'i'.
Definition at line 109 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
End k entries with a coordinate 'i'.
Definition at line 114 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of k entries with a coordinate 'i'.
Definition at line 119 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
k coordinate for k entry 'kEntry'
Definition at line 124 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Begin j entries with a k entry 'kEntry'.
Definition at line 129 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
End j entries with a k entry 'kEntry'.
Definition at line 134 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of j entries with a k entry 'kEntry'.
Definition at line 139 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
j coordinate for j entry 'jEntry'
Definition at line 144 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Value for j entry 'jEntry'.
Definition at line 149 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number of non-zero's.
Definition at line 154 of file Stokhos_FlatSparse3Tensor.hpp.
|
inline |
Number flop's per multiply-add.
Definition at line 159 of file Stokhos_FlatSparse3Tensor.hpp.
|
inlinestatic |
Definition at line 164 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 44 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 45 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 46 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 47 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 48 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 49 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 50 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 51 of file Stokhos_FlatSparse3Tensor.hpp.
|
private |
Definition at line 52 of file Stokhos_FlatSparse3Tensor.hpp.