Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Stokhos_UnitTestHelpers.hpp File Reference
#include "Stokhos_OrthogPolyApprox.hpp"
#include "Stokhos_ProductBasis.hpp"
#include "Stokhos_Sparse3Tensor.hpp"
#include "Teuchos_SerialDenseMatrix.hpp"
#include "Teuchos_FancyOStream.hpp"
Include dependency graph for Stokhos_UnitTestHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Stokhos
 Top-level namespace for Stokhos classes and functions.
 

Functions

template<class OrdinalType , class ValueType >
bool Stokhos::comparePCEs (const Stokhos::OrthogPolyApprox< OrdinalType, ValueType > &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)
 
template<class ValueType >
bool Stokhos::compareValues (const ValueType &a1, const std::string &a1_name, const ValueType &a2, const std::string &a2_name, const ValueType &rel_tol, const ValueType &abs_tol, Teuchos::FancyOStream &out)
 
template<class ValueType , class VectorType1 , class VectorType2 >
bool Stokhos::compareVecs (const VectorType1 &a1, const std::string &a1_name, const VectorType2 &a2, const std::string &a2_name, const ValueType &rel_tol, const ValueType &abs_tol, Teuchos::FancyOStream &out)
 
template<class Array1 , class Array2 , class ValueType >
bool Stokhos::compareArrays (const Array1 &a1, const std::string &a1_name, const Array2 &a2, const std::string &a2_name, const ValueType &rel_tol, const ValueType &abs_tol, Teuchos::FancyOStream &out)
 
template<class ordinal_type , class scalar_type >
bool Stokhos::compareSDM (const Teuchos::SerialDenseMatrix< ordinal_type, scalar_type > &a1, const std::string &a1_name, const Teuchos::SerialDenseMatrix< ordinal_type, scalar_type > &a2, const std::string &a2_name, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)
 
template<class ordinal_type , class scalar_type >
bool Stokhos::compareSparse3Tensor (const Stokhos::Sparse3Tensor< ordinal_type, scalar_type > &Cijk1, const std::string &cijk1_name, const Stokhos::Sparse3Tensor< ordinal_type, scalar_type > &Cijk2, const std::string &cijk2_name, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)
 
template<class ordinal_type , class scalar_type >
bool Stokhos::testSparse3Tensor (const Stokhos::Sparse3Tensor< ordinal_type, scalar_type > &Cijk, const Stokhos::ProductBasis< ordinal_type, scalar_type > &basis, const scalar_type &sparse_tol, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out, bool linear=false)
 
template<typename operator_type1 , typename operator_type2 , typename scalar_type >
bool Stokhos::testPseudoSpectralPoints (const operator_type1 &op1, const operator_type2 &op2, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)
 
template<typename operator_type1 , typename operator_type2 , typename func_type1 , typename func_type2 , typename scalar_type >
bool Stokhos::testPseudoSpectralApply (const operator_type1 &op1, const operator_type2 &op2, const func_type1 &func1, const func_type2 &func2, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)
 
template<typename operator_type1 , typename operator_type2 , typename func_type1 , typename func_type2 , typename scalar_type >
bool Stokhos::testPseudoSpectralApplyTrans (const operator_type1 &op1, const operator_type2 &op2, const func_type1 &func1, const func_type2 &func2, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)
 
template<typename basis_type , typename operator_type , typename scalar_type >
bool Stokhos::testPseudoSpectralDiscreteOrthogonality (const basis_type &basis, const operator_type &op, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)