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 | Public Attributes | List of all members
KokkosKernelsUnitTest::UnitTestSetup< Device > Struct Template Reference

#include <Stokhos_KokkosArrayKernelsUnitTest.hpp>

Public Types

typedef double value_type
 
typedef
Stokhos::OneDOrthogPolyBasis
< int, value_type
abstract_basis_type
 
typedef Stokhos::LegendreBasis
< int, value_type
basis_type
 
typedef
Stokhos::LexographicLess
< Stokhos::MultiIndex< int > > 
less_type
 
typedef
Stokhos::TotalOrderBasis< int,
value_type, less_type
product_basis_type
 
typedef Stokhos::Sparse3Tensor
< int, value_type
Cijk_type
 

Public Member Functions

void setup (int p_=5, int d_=2)
 
template<typename vec_type >
bool test_original (const std::vector< vec_type > &y, Teuchos::FancyOStream &out) const
 
template<typename multi_vec_type >
bool test_original (const multi_vec_type &y, Teuchos::FancyOStream &out) const
 
template<typename vec_type >
bool test_commuted_perm (const vec_type &y, Teuchos::FancyOStream &out) const
 
template<typename vec_type >
bool test_commuted (const vec_type &y, Teuchos::FancyOStream &out) const
 
template<typename vec_type >
bool test_commuted_flat (const vec_type &y, Teuchos::FancyOStream &out) const
 
template<typename vec_type >
bool test_original_flat (const vec_type &y, Teuchos::FancyOStream &out) const
 

Public Attributes

int p
 
int d
 
int nGrid
 
int fem_length
 
int stoch_length
 
int stoch_length_aligned
 
int fem_graph_length
 
double rel_tol
 
double abs_tol
 
std::vector< std::vector< int > > fem_graph
 
RCP< product_basis_typebasis
 
RCP< Cijk_typeCijk
 
RCP< const Epetra_CommglobalComm
 
RCP
< Stokhos::EpetraVectorOrthogPoly
sg_x
 
RCP
< Stokhos::EpetraVectorOrthogPoly
sg_y
 
RCP< Stokhos::ProductEpetraVectorsg_y_commuted
 
Teuchos::Array< int > perm
 
Teuchos::Array< int > inv_perm
 

Detailed Description

template<typename Device>
struct KokkosKernelsUnitTest::UnitTestSetup< Device >

Definition at line 132 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Member Typedef Documentation

template<typename Device>
typedef double KokkosKernelsUnitTest::UnitTestSetup< Device >::value_type

Definition at line 133 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Definition at line 134 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
typedef Stokhos::LegendreBasis<int,value_type> KokkosKernelsUnitTest::UnitTestSetup< Device >::basis_type

Definition at line 135 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Definition at line 137 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Definition at line 138 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
typedef Stokhos::Sparse3Tensor<int,value_type> KokkosKernelsUnitTest::UnitTestSetup< Device >::Cijk_type

Definition at line 139 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Member Function Documentation

template<typename Device>
void KokkosKernelsUnitTest::UnitTestSetup< Device >::setup ( int  p_ = 5,
int  d_ = 2 
)
inline

Definition at line 152 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
template<typename vec_type >
bool KokkosKernelsUnitTest::UnitTestSetup< Device >::test_original ( const std::vector< vec_type > &  y,
Teuchos::FancyOStream out 
) const
inline

Definition at line 290 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
template<typename multi_vec_type >
bool KokkosKernelsUnitTest::UnitTestSetup< Device >::test_original ( const multi_vec_type &  y,
Teuchos::FancyOStream out 
) const
inline

Definition at line 313 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
template<typename vec_type >
bool KokkosKernelsUnitTest::UnitTestSetup< Device >::test_commuted_perm ( const vec_type &  y,
Teuchos::FancyOStream out 
) const
inline

Definition at line 336 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
template<typename vec_type >
bool KokkosKernelsUnitTest::UnitTestSetup< Device >::test_commuted ( const vec_type &  y,
Teuchos::FancyOStream out 
) const
inline

Definition at line 360 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
template<typename vec_type >
bool KokkosKernelsUnitTest::UnitTestSetup< Device >::test_commuted_flat ( const vec_type &  y,
Teuchos::FancyOStream out 
) const
inline

Definition at line 384 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
template<typename vec_type >
bool KokkosKernelsUnitTest::UnitTestSetup< Device >::test_original_flat ( const vec_type &  y,
Teuchos::FancyOStream out 
) const
inline

Definition at line 407 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Member Data Documentation

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::p

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::d

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::nGrid

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::fem_length

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::stoch_length

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::stoch_length_aligned

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
int KokkosKernelsUnitTest::UnitTestSetup< Device >::fem_graph_length

Definition at line 141 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
double KokkosKernelsUnitTest::UnitTestSetup< Device >::rel_tol

Definition at line 142 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
double KokkosKernelsUnitTest::UnitTestSetup< Device >::abs_tol

Definition at line 142 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
std::vector< std::vector<int> > KokkosKernelsUnitTest::UnitTestSetup< Device >::fem_graph

Definition at line 143 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
RCP< product_basis_type> KokkosKernelsUnitTest::UnitTestSetup< Device >::basis

Definition at line 144 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
RCP<Cijk_type> KokkosKernelsUnitTest::UnitTestSetup< Device >::Cijk

Definition at line 145 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
RCP<const Epetra_Comm> KokkosKernelsUnitTest::UnitTestSetup< Device >::globalComm

Definition at line 146 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
RCP<Stokhos::EpetraVectorOrthogPoly> KokkosKernelsUnitTest::UnitTestSetup< Device >::sg_x

Definition at line 147 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
RCP<Stokhos::EpetraVectorOrthogPoly> KokkosKernelsUnitTest::UnitTestSetup< Device >::sg_y

Definition at line 147 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
RCP<Stokhos::ProductEpetraVector> KokkosKernelsUnitTest::UnitTestSetup< Device >::sg_y_commuted

Definition at line 148 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
Teuchos::Array<int> KokkosKernelsUnitTest::UnitTestSetup< Device >::perm

Definition at line 149 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename Device>
Teuchos::Array<int> KokkosKernelsUnitTest::UnitTestSetup< Device >::inv_perm

Definition at line 149 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.


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