Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Specialization of CooProductTensor for unpacked (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 () | |
CooProductTensor () | |
CooProductTensor (const CooProductTensor &rhs) | |
CooProductTensor & | operator= (const CooProductTensor &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 void | coord (const size_type entry, size_type &i, size_type &j, size_type &k) const |
Get (i,j,k) coordinates of an entry. More... | |
KOKKOS_INLINE_FUNCTION const value_type & | value (const size_type entry) const |
Value of an entry. 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... | |
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()) |
Private Types | |
typedef Kokkos::View< value_type[], execution_space > | vec_type |
typedef Kokkos::View< size_type[][3], execution_space > | coord_array_type |
typedef Kokkos::View< value_type[], execution_space > | value_array_type |
Private Attributes | |
coord_array_type | m_coord |
value_array_type | m_value |
size_type | m_dim |
size_type | m_flops |
Specialization of CooProductTensor for unpacked (i,j,k)
Definition at line 282 of file Stokhos_CooProductTensor.hpp.
typedef ExecutionSpace Stokhos::CooProductTensor< ValueType, ExecutionSpace, false >::execution_space |
Definition at line 285 of file Stokhos_CooProductTensor.hpp.
typedef execution_space::size_type Stokhos::CooProductTensor< ValueType, ExecutionSpace, false >::size_type |
Definition at line 286 of file Stokhos_CooProductTensor.hpp.
typedef ValueType Stokhos::CooProductTensor< ValueType, ExecutionSpace, false >::value_type |
Definition at line 287 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 291 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 292 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 293 of file Stokhos_CooProductTensor.hpp.
|
inline |
Definition at line 303 of file Stokhos_CooProductTensor.hpp.
|
inline |
Definition at line 306 of file Stokhos_CooProductTensor.hpp.
|
inline |
Definition at line 313 of file Stokhos_CooProductTensor.hpp.
|
inline |
Definition at line 320 of file Stokhos_CooProductTensor.hpp.
|
inline |
Dimension of the tensor.
Definition at line 331 of file Stokhos_CooProductTensor.hpp.
|
inline |
Number of sparse entries.
Definition at line 335 of file Stokhos_CooProductTensor.hpp.
|
inline |
Get (i,j,k) coordinates of an entry.
Definition at line 339 of file Stokhos_CooProductTensor.hpp.
|
inline |
Value of an entry.
Definition at line 348 of file Stokhos_CooProductTensor.hpp.
|
inline |
Number of non-zero's.
Definition at line 353 of file Stokhos_CooProductTensor.hpp.
|
inline |
Number flop's per multiply-add.
Definition at line 357 of file Stokhos_CooProductTensor.hpp.
|
inlinestatic |
Definition at line 361 of file Stokhos_CooProductTensor.hpp.
|
inline |
Definition at line 445 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 295 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 296 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 297 of file Stokhos_CooProductTensor.hpp.
|
private |
Definition at line 298 of file Stokhos_CooProductTensor.hpp.