Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Typedefs | Functions | Variables
Stokhos_SacadoPCEUnitTest.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SacadoPCEUnitTest::UnitTestSetup< PCEType >
 

Namespaces

 SacadoPCEUnitTest
 

Macros

#define UNARY_UNIT_TEST(OP)
 
#define BINARY_UNIT_TEST(OP, EXPOP)
 
#define OPASSIGN_UNIT_TEST(OP, EXPOP)
 

Typedefs

typedef UnitTestSetup< pce_typeSacadoPCEUnitTest::UTS
 

Functions

 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, UMinus)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_resize)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_resize2)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_const)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_const2)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_short)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_short_const)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_short_const2)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_resize_const)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_resize_const2)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_short_resize_const)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, saxpy_short_resize_const2)
 

Variables

UTS SacadoPCEUnitTest::setup
 

Macro Definition Documentation

#define UNARY_UNIT_TEST (   OP)
Value:
TEUCHOS_UNIT_TEST( Stokhos_PCE, OP) { \
UTS::pce_type u = OP(setup.x); \
UTS::opa_type u_opa(setup.basis); \
setup.exp->OP(u_opa, setup.x.getOrthogPolyApprox()); \
success = Stokhos::comparePCEs(u.getOrthogPolyApprox(), "u", \
u_opa, "u_opa", \
setup.rtol, setup.atol, out); \
} \
TEUCHOS_UNIT_TEST( Stokhos_PCE, OP##_const) { \
UTS::pce_type u = OP(setup.cx); \
UTS::opa_type u_opa(setup.basis); \
setup.exp->OP(u_opa, setup.cx.getOrthogPolyApprox()); \
success = Stokhos::comparePCEs(u.getOrthogPolyApprox(), "u", \
u_opa, "u_opa", \
setup.rtol, setup.atol, out); \
} \
TEUCHOS_UNIT_TEST( Stokhos_PCE, OP##_resize) { \
u = OP(setup.x); \
UTS::opa_type u_opa(setup.basis); \
setup.exp->OP(u_opa, setup.x.getOrthogPolyApprox()); \
success = Stokhos::comparePCEs(u.getOrthogPolyApprox(), "u", \
u_opa, "u_opa", \
setup.rtol, setup.atol, out); \
}
Sacado::ETPCE::OrthogPoly< double, Stokhos::StandardStorage< int, double > > pce_type
bool comparePCEs(const PCEType &a1, const std::string &a1_name, const Stokhos::OrthogPolyApprox< OrdinalType, ValueType > &a2, const std::string &a2_name, const ValueType &rel_tol, const ValueType &abs_tol, Teuchos::FancyOStream &out)
TEUCHOS_UNIT_TEST(tAdaptivityManager, test_interface)

Definition at line 125 of file Stokhos_SacadoPCEUnitTest.hpp.

#define BINARY_UNIT_TEST (   OP,
  EXPOP 
)

Definition at line 170 of file Stokhos_SacadoPCEUnitTest.hpp.

#define OPASSIGN_UNIT_TEST (   OP,
  EXPOP 
)

Definition at line 358 of file Stokhos_SacadoPCEUnitTest.hpp.