Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace > Class Template Reference

Sparse product tensor with replicated entries to provide subsets with a given coordinate. More...

#include <Stokhos_LexicographicBlockSparse3Tensor.hpp>

Public Types

typedef ExecutionSpace execution_space
 
typedef execution_space::size_type size_type
 
typedef ValueType value_type
 

Public Member Functions

 ~LexicographicBlockSparse3Tensor ()
 
 LexicographicBlockSparse3Tensor ()
 
 LexicographicBlockSparse3Tensor (const LexicographicBlockSparse3Tensor &rhs)
 
LexicographicBlockSparse3Tensoroperator= (const LexicographicBlockSparse3Tensor &rhs)
 
KOKKOS_INLINE_FUNCTION size_type dimension () const
 Dimension of the tensor. More...
 
KOKKOS_INLINE_FUNCTION size_type num_coord () const
 Number of coordinates. More...
 
KOKKOS_INLINE_FUNCTION size_type num_value () const
 Number of values. More...
 
KOKKOS_INLINE_FUNCTION int get_i_begin (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION int get_j_begin (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION int get_k_begin (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION int get_p_i (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION int get_p_j (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION int get_p_k (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION int get_j_eq_k (const size_type entry) const
 
KOKKOS_INLINE_FUNCTION const
value_type
value (const size_type entry) const
 Cijk for entry '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...
 
KOKKOS_INLINE_FUNCTION bool symmetric () const
 Is PDF symmetric. More...
 

Static Public Member Functions

template<typename OrdinalType >
static
LexicographicBlockSparse3Tensor 
create (const Stokhos::ProductBasis< OrdinalType, ValueType > &basis, const Stokhos::LTBSparse3Tensor< OrdinalType, ValueType > &Cijk, const Teuchos::ParameterList &params=Teuchos::ParameterList())
 

Private Types

typedef Kokkos::View< int[][7],
Kokkos::LayoutRight,
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_dimension
 
size_type m_flops
 
bool m_symmetric
 

Detailed Description

template<typename ValueType, class ExecutionSpace>
class Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >

Sparse product tensor with replicated entries to provide subsets with a given coordinate.

Definition at line 64 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

Member Typedef Documentation

template<typename ValueType , class ExecutionSpace >
typedef ExecutionSpace Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::execution_space

Definition at line 67 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
typedef execution_space::size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::size_type

Definition at line 68 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
typedef ValueType Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::value_type

Definition at line 69 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
typedef Kokkos::View< int[][7] , Kokkos::LayoutRight, execution_space > Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::coord_array_type
private

Definition at line 73 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
typedef Kokkos::View< value_type[], execution_space > Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::value_array_type
private

Definition at line 74 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

Constructor & Destructor Documentation

template<typename ValueType , class ExecutionSpace >
Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::~LexicographicBlockSparse3Tensor ( )
inline

Definition at line 85 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::LexicographicBlockSparse3Tensor ( )
inline

Definition at line 88 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::LexicographicBlockSparse3Tensor ( const LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace > &  rhs)
inline

Definition at line 96 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

Member Function Documentation

template<typename ValueType , class ExecutionSpace >
LexicographicBlockSparse3Tensor& Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::operator= ( const LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace > &  rhs)
inline

Definition at line 105 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::dimension ( ) const
inline

Dimension of the tensor.

Definition at line 118 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::num_coord ( ) const
inline

Number of coordinates.

Definition at line 122 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::num_value ( ) const
inline

Number of values.

Definition at line 126 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_i_begin ( const size_type  entry) const
inline

Definition at line 130 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_j_begin ( const size_type  entry) const
inline

Definition at line 136 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_k_begin ( const size_type  entry) const
inline

Definition at line 142 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_p_i ( const size_type  entry) const
inline

Definition at line 148 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_p_j ( const size_type  entry) const
inline

Definition at line 154 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_p_k ( const size_type  entry) const
inline

Definition at line 160 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION int Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::get_j_eq_k ( const size_type  entry) const
inline

Definition at line 166 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION const value_type& Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::value ( const size_type  entry) const
inline

Cijk for entry 'entry'.

Definition at line 172 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::num_non_zeros ( ) const
inline

Number of non-zero's.

Definition at line 177 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::num_flops ( ) const
inline

Number flop's per multiply-add.

Definition at line 181 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
KOKKOS_INLINE_FUNCTION bool Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::symmetric ( ) const
inline

Is PDF symmetric.

Definition at line 185 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
template<typename OrdinalType >
static LexicographicBlockSparse3Tensor Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::create ( const Stokhos::ProductBasis< OrdinalType, ValueType > &  basis,
const Stokhos::LTBSparse3Tensor< OrdinalType, ValueType > &  Cijk,
const Teuchos::ParameterList params = Teuchos::ParameterList() 
)
inlinestatic

Definition at line 189 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

Member Data Documentation

template<typename ValueType , class ExecutionSpace >
coord_array_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::m_coord
private

Definition at line 76 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
value_array_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::m_value
private

Definition at line 77 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::m_dimension
private

Definition at line 78 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
size_type Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::m_flops
private

Definition at line 79 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

template<typename ValueType , class ExecutionSpace >
bool Stokhos::LexicographicBlockSparse3Tensor< ValueType, ExecutionSpace >::m_symmetric
private

Definition at line 80 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.


The documentation for this class was generated from the following file: