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 164 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Member Typedef Documentation

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

Definition at line 165 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Definition at line 166 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 167 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Definition at line 169 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Definition at line 170 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 171 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 184 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 322 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 345 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 368 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 392 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 416 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 439 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

Member Data Documentation

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 173 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 174 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 174 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 175 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 176 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 177 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 178 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 179 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 179 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 180 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 181 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

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

Definition at line 181 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.


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