Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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.
 
KOKKOS_INLINE_FUNCTION size_type num_coord () const
 Number of coordinates.
 
KOKKOS_INLINE_FUNCTION size_type num_value () const
 Number of values.
 
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_typevalue (const size_type entry) const
 Cijk for entry '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.
 
KOKKOS_INLINE_FUNCTION bool symmetric () const
 Is PDF symmetric.
 

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_spacecoord_array_type
 
typedef Kokkos::View< value_type[], execution_spacevalue_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

◆ execution_space

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

Definition at line 67 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ size_type

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.

◆ value_type

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

Definition at line 69 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ coord_array_type

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.

◆ value_array_type

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

◆ ~LexicographicBlockSparse3Tensor()

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

Definition at line 85 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ LexicographicBlockSparse3Tensor() [1/2]

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

Definition at line 88 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ LexicographicBlockSparse3Tensor() [2/2]

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

◆ operator=()

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.

◆ dimension()

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.

◆ num_coord()

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.

◆ num_value()

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.

◆ get_i_begin()

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.

◆ get_j_begin()

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.

◆ get_k_begin()

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.

◆ get_p_i()

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.

◆ get_p_j()

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.

◆ get_p_k()

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.

◆ get_j_eq_k()

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.

◆ value()

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.

◆ num_non_zeros()

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.

◆ num_flops()

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.

◆ symmetric()

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.

◆ create()

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

◆ m_coord

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

Definition at line 76 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ m_value

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

Definition at line 77 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ m_dimension

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

Definition at line 78 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ m_flops

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

Definition at line 79 of file Stokhos_LexicographicBlockSparse3Tensor.hpp.

◆ m_symmetric

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: