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_kji.hpp>
Public Types | |
typedef ExecutionSpace | execution_space |
typedef execution_space::size_type | size_type |
typedef ValueType | value_type |
Public Member Functions | |
~FlatSparse3Tensor_kji () | |
FlatSparse3Tensor_kji () | |
FlatSparse3Tensor_kji (const FlatSparse3Tensor_kji &rhs) | |
FlatSparse3Tensor_kji & | operator= (const FlatSparse3Tensor_kji &rhs) |
KOKKOS_INLINE_FUNCTION size_type | dimension () const |
Dimension of the tensor. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_k () const |
Number of k entries. More... | |
KOKKOS_INLINE_FUNCTION size_type | entry_count () const |
Number of sparse entries. More... | |
KOKKOS_INLINE_FUNCTION size_type | j_begin (size_type k) const |
Begin j entries with a coordinate 'k'. More... | |
KOKKOS_INLINE_FUNCTION size_type | j_end (size_type k) const |
End j entries with a coordinate 'k'. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_j (size_type k) const |
Number of j entries with a coordinate 'k'. More... | |
KOKKOS_INLINE_FUNCTION const size_type & | j_coord (const size_type jEntry) const |
j coordinate for j entry 'jEntry' More... | |
KOKKOS_INLINE_FUNCTION size_type | i_begin (size_type jEntry) const |
Begin i entries with a j entry 'jEntry'. More... | |
KOKKOS_INLINE_FUNCTION size_type | i_end (size_type jEntry) const |
End i entries with a j entry 'jEntry'. More... | |
KOKKOS_INLINE_FUNCTION size_type | num_i (size_type jEntry) const |
Number of i entries with a j entry 'jEntry'. More... | |
KOKKOS_INLINE_FUNCTION const size_type & | i_coord (const size_type iEntry) const |
i coordinate for i entry 'iEntry' More... | |
KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type iEntry) const |
Value for i entry 'iEntry'. 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_kji | 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 29 of file Stokhos_FlatSparse3Tensor_kji.hpp.
typedef ExecutionSpace Stokhos::FlatSparse3Tensor_kji< ValueType, ExecutionSpace >::execution_space |
Definition at line 32 of file Stokhos_FlatSparse3Tensor_kji.hpp.
typedef execution_space::size_type Stokhos::FlatSparse3Tensor_kji< ValueType, ExecutionSpace >::size_type |
Definition at line 33 of file Stokhos_FlatSparse3Tensor_kji.hpp.
typedef ValueType Stokhos::FlatSparse3Tensor_kji< ValueType, ExecutionSpace >::value_type |
Definition at line 34 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 38 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 39 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 40 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 41 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 58 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 61 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 74 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 87 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Dimension of the tensor.
Definition at line 104 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of k entries.
Definition at line 108 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of sparse entries.
Definition at line 112 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Begin j entries with a coordinate 'k'.
Definition at line 117 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
End j entries with a coordinate 'k'.
Definition at line 122 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of j entries with a coordinate 'k'.
Definition at line 127 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
j coordinate for j entry 'jEntry'
Definition at line 132 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Begin i entries with a j entry 'jEntry'.
Definition at line 137 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
End i entries with a j entry 'jEntry'.
Definition at line 142 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of i entries with a j entry 'jEntry'.
Definition at line 147 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
i coordinate for i entry 'iEntry'
Definition at line 152 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Value for i entry 'iEntry'.
Definition at line 157 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of non-zero's.
Definition at line 162 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number flop's per multiply-add.
Definition at line 167 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inlinestatic |
Definition at line 172 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 43 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 44 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 45 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 46 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 47 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 48 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 49 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 50 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 51 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 52 of file Stokhos_FlatSparse3Tensor_kji.hpp.