Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Classes | Namespaces | Macros | Functions
Stokhos_SacadoUQPCEUnitTest.hpp File Reference
#include "Stokhos.hpp"
Include dependency graph for Stokhos_SacadoUQPCEUnitTest.hpp:

Go to the source code of this file.

Classes

struct  SacadoPCEUnitTest::UnitTestSetup< PCEType >
 

Namespaces

 Stokhos
 Top-level namespace for Stokhos classes and functions.
 
 SacadoPCEUnitTest
 

Macros

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

Functions

template<class PCEType , class OrdinalType , class ValueType >
bool Stokhos::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)
 
 SacadoPCEUnitTest::TEUCHOS_UNIT_TEST (Stokhos_PCE, UMinus)
 

Macro Definition Documentation

◆ UNARY_UNIT_TEST

#define UNARY_UNIT_TEST (   OP)
Value:
TEUCHOS_UNIT_TEST( Stokhos_PCE, OP##_const) { \
UTS setup; \
UTS::pce_type u = OP(setup.cx); \
UTS::opa_type u_opa(setup.basis); \
setup.exp->OP(u_opa, setup.cx_opa); \
success = Stokhos::comparePCEs(u, "u", u_opa, "u_opa", \
setup.rtol, setup.atol, out); \
} \
TEUCHOS_UNIT_TEST( Stokhos_PCE, OP##_resize) { \
UTS setup; \
u = OP(setup.cx); \
UTS::opa_type u_opa(setup.basis); \
setup.exp->OP(u_opa, setup.cx_opa); \
success = Stokhos::comparePCEs(u, "u", u_opa, "u_opa", \
setup.rtol, setup.atol, out); \
}
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)
Sacado::PCE::OrthogPoly< double, Storage > pce_type
TEUCHOS_UNIT_TEST(tAdaptivityManager, test_interface)

Definition at line 203 of file Stokhos_SacadoUQPCEUnitTest.hpp.

◆ BINARY_UNIT_TEST

#define BINARY_UNIT_TEST (   OP,
  EXPOP 
)

Definition at line 240 of file Stokhos_SacadoUQPCEUnitTest.hpp.

◆ OPASSIGN_UNIT_TEST

#define OPASSIGN_UNIT_TEST (   OP,
  EXPOP 
)

Definition at line 332 of file Stokhos_SacadoUQPCEUnitTest.hpp.