Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Classes | Typedefs | Functions | Variables
ProductBasisUtilsUnitTest Namespace Reference

Classes

struct  general_predicate
 
struct  total_order_predicate
 
struct  UnitTestSetup
 

Typedefs

typedef int ordinal_type
 
typedef double value_type
 

Functions

template<typename ordinal_type >
ordinal_type factorial (const ordinal_type &n)
 
template<typename scalar_type >
scalar_type quad_func1 (const Teuchos::Array< scalar_type > &x)
 
template<typename scalar_type >
scalar_type quad_func2 (const Teuchos::Array< scalar_type > &x)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, NChooseK)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderLess)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, LexographicLess)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, FloatingPointLess)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, LexographicFloatingPointLess)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderIndexSet)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, AnisotropicTotalOrderIndexSet)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderBasis)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TensorProductBasis)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderSparse3Tensor)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderSparse3TensorNew)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderSparse3LTO)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, TotalOrderMapping)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, LexographicMapping)
 
 TEUCHOS_UNIT_TEST (Stokhos_ProductBasisUtils, LexographicMapping2)
 

Variables

UnitTestSetup< ordinal_type, value_typesetup
 

Typedef Documentation

◆ ordinal_type

Definition at line 72 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ value_type

Definition at line 73 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

Function Documentation

◆ factorial()

template<typename ordinal_type >
ordinal_type ProductBasisUtilsUnitTest::factorial ( const ordinal_type n)

Definition at line 78 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ quad_func1()

template<typename scalar_type >
scalar_type ProductBasisUtilsUnitTest::quad_func1 ( const Teuchos::Array< scalar_type > &  x)

Definition at line 87 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ quad_func2()

template<typename scalar_type >
scalar_type ProductBasisUtilsUnitTest::quad_func2 ( const Teuchos::Array< scalar_type > &  x)

Definition at line 96 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [1/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
NChooseK   
)

Definition at line 103 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [2/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderLess   
)

Definition at line 128 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [3/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
LexographicLess   
)

Definition at line 168 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [4/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
FloatingPointLess   
)

Definition at line 202 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [5/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
LexographicFloatingPointLess   
)

Definition at line 217 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [6/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderIndexSet   
)

Definition at line 231 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [7/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
AnisotropicTotalOrderIndexSet   
)

Definition at line 269 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [8/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderBasis   
)

Definition at line 315 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [9/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TensorProductBasis   
)

Definition at line 370 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [10/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderSparse3Tensor   
)

Definition at line 452 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [11/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderSparse3TensorNew   
)

Definition at line 522 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [12/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderSparse3LTO   
)

Definition at line 594 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [13/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
TotalOrderMapping   
)

Definition at line 655 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [14/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
LexographicMapping   
)

Definition at line 687 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [15/15]

ProductBasisUtilsUnitTest::TEUCHOS_UNIT_TEST ( Stokhos_ProductBasisUtils  ,
LexographicMapping2   
)

Definition at line 719 of file Stokhos_ProductBasisUtilsUnitTest.cpp.

Variable Documentation

◆ setup

UnitTestSetup<ordinal_type,value_type> ProductBasisUtilsUnitTest::setup

Definition at line 74 of file Stokhos_ProductBasisUtilsUnitTest.cpp.