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 61 of file Stokhos_FlatSparse3Tensor_kji.hpp.
typedef ExecutionSpace Stokhos::FlatSparse3Tensor_kji< ValueType, ExecutionSpace >::execution_space |
Definition at line 64 of file Stokhos_FlatSparse3Tensor_kji.hpp.
typedef execution_space::size_type Stokhos::FlatSparse3Tensor_kji< ValueType, ExecutionSpace >::size_type |
Definition at line 65 of file Stokhos_FlatSparse3Tensor_kji.hpp.
typedef ValueType Stokhos::FlatSparse3Tensor_kji< ValueType, ExecutionSpace >::value_type |
Definition at line 66 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 70 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 71 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 72 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 73 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 90 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 93 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 106 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Definition at line 119 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Dimension of the tensor.
Definition at line 136 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of k entries.
Definition at line 140 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of sparse entries.
Definition at line 144 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Begin j entries with a coordinate 'k'.
Definition at line 149 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
End j entries with a coordinate 'k'.
Definition at line 154 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of j entries with a coordinate 'k'.
Definition at line 159 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
j coordinate for j entry 'jEntry'
Definition at line 164 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Begin i entries with a j entry 'jEntry'.
Definition at line 169 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
End i entries with a j entry 'jEntry'.
Definition at line 174 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of i entries with a j entry 'jEntry'.
Definition at line 179 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
i coordinate for i entry 'iEntry'
Definition at line 184 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Value for i entry 'iEntry'.
Definition at line 189 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number of non-zero's.
Definition at line 194 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inline |
Number flop's per multiply-add.
Definition at line 199 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
inlinestatic |
Definition at line 204 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 75 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 76 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 77 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 78 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 79 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 80 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 81 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 82 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 83 of file Stokhos_FlatSparse3Tensor_kji.hpp.
|
private |
Definition at line 84 of file Stokhos_FlatSparse3Tensor_kji.hpp.