|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
56 template <
typename OrdinalType,
typename ValueType>
77 for (
int i=0; i<
x.size(); i++)
85 for (
int i=0; i<
x.size(); i++)
bool 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)
static void summarize(Ptr< const Comm< int > > comm, std::ostream &out=std::cout, const bool alwaysWriteLocal=false, const bool writeGlobalStats=true, const bool writeZeroTimers=true, const ECounterSetOp setOp=Intersection, const std::string &filter="", const bool ignoreZeroTimers=false)
UnitTestSetup< ordinal_type, value_type > setup
value_type quad_func1(const Teuchos::ArrayView< const value_type > &x)
An operator for building pseudo-spectral coefficients using an arbitrary quadrature rule.
KOKKOS_INLINE_FUNCTION PCE< Storage > exp(const PCE< Storage > &a)
Multivariate orthogonal polynomial basis generated from a tensor product of univariate polynomials.
TEUCHOS_UNIT_TEST(TensorProduct, IsotropicPoints)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
int main(int argc, char *argv[])
A comparison functor implementing a strict weak ordering based lexographic ordering.
KOKKOS_INLINE_FUNCTION PCE< Storage > sin(const PCE< Storage > &a)
value_type quad_func2(const Teuchos::ArrayView< const value_type > &x)
Defines quadrature for a tensor product basis by tensor products of 1-D quadrature rules.
Legendre polynomial basis.
An operator for building pseudo-spectral coefficients using tensor-product quadrature.
Multivariate orthogonal polynomial basis generated from a total order tensor product of univariate po...
const IndexType const IndexType const IndexType const IndexType const ValueType const ValueType * x
bool testPseudoSpectralPoints(const operator_type1 &op1, const operator_type2 &op2, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)
static int runUnitTestsFromMain(int argc, char *argv[])
bool 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)
bool testPseudoSpectralDiscreteOrthogonality(const basis_type &basis, const operator_type &op, const scalar_type &rel_tol, const scalar_type &abs_tol, Teuchos::FancyOStream &out)