Stokhos
Development
|
Specialization of CooProductTensor for packed (i,j,k) More...
#include <Stokhos_CooProductTensor.hpp>
Public Types | |
typedef ExecutionSpace | execution_space |
typedef execution_space::size_type | size_type |
typedef ValueType | value_type |
Public Member Functions | |
CooProductTensor (const CooProductTensor &rhs) | |
CooProductTensor & | operator= (const CooProductTensor &rhs) |
KOKKOS_INLINE_FUNCTION size_type | dimension () const |
Dimension of the tensor. | |
KOKKOS_INLINE_FUNCTION size_type | entry_count () const |
Number of sparse entries. | |
KOKKOS_INLINE_FUNCTION void | coord (const size_type entry, size_type &i, size_type &j, size_type &k) const |
Get (i,j,k) coordinates of an entry. | |
KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type entry) const |
Value of an 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. | |
void | print (std::ostream &os) const |
Static Public Member Functions | |
template<typename OrdinalType > | |
static CooProductTensor | create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::Sparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList ¶ms=Teuchos::ParameterList()) |
Static Public Attributes | |
static const size_type | max_index = 1 << bits |
Maximum index storable by packed approach. | |
Specialization of CooProductTensor for packed (i,j,k)