Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_MonomialProjGramSchmidtPCEBasis.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef STOKHOS_MONOMIAL_PROJ_GRAM_SCHMIDT_PCE_BASIS_HPP
11 #define STOKHOS_MONOMIAL_PROJ_GRAM_SCHMIDT_PCE_BASIS_HPP
12 
14 
15 namespace Stokhos {
16 
26  template <typename ordinal_type, typename value_type>
28  public GSReducedPCEBasisBase<ordinal_type,value_type> {
29  public:
30 
32 
44 
47 
49 
50 
52  virtual const std::string& getName() const;
53 
55 
56  protected:
57 
59 
62  virtual ordinal_type
64  ordinal_type max_p,
65  value_type threshold,
68  const Teuchos::Array<value_type>& weights,
70  Teuchos::Array<ordinal_type>& num_terms_,
73 
74  private:
75 
76  // Prohibit copying
78 
79  // Prohibit Assignment
81 
82  protected:
83 
87 
89  std::string name;
90 
91  }; // class MonomialProjGramSchmidtPCEBasis
92 
93 } // Namespace Stokhos
94 
95 // Include template definitions
97 
98 #endif
Utilities for indexing a multi-variate complete polynomial basis.
Teuchos::SerialDenseVector< ordinal_type, value_type > SDV
Generate a basis from a given set of PCE expansions that is orthogonal with respect to the product me...
virtual ordinal_type buildReducedBasis(ordinal_type max_p, value_type threshold, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &A, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &F, const Teuchos::Array< value_type > &weights, Teuchos::Array< Stokhos::MultiIndex< ordinal_type > > &terms_, Teuchos::Array< ordinal_type > &num_terms_, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Qp_, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Q_)
Build the reduced basis, parameterized by total order max_p.
Teuchos::SerialDenseMatrix< ordinal_type, value_type > SDM
MonomialProjGramSchmidtPCEBasis & operator=(const MonomialProjGramSchmidtPCEBasis &b)
virtual const std::string & getName() const
Return string name of basis.
Abstract base class for quadrature methods.
Stokhos::CompletePolynomialBasisUtils< ordinal_type, value_type > CPBUtils
MonomialProjGramSchmidtPCEBasis(ordinal_type p, const Teuchos::Array< Stokhos::OrthogPolyApprox< ordinal_type, value_type > > &pce, const Teuchos::RCP< const Stokhos::Quadrature< ordinal_type, value_type > > &quad, const Teuchos::ParameterList &params=Teuchos::ParameterList())
Constructor.
Generate a basis from a given set of PCE expansions that is orthogonal with respect to the product me...
ordinal_type p
Total order of basis.
Teuchos::ParameterList params
Algorithm parameters.