Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_StieltjesGramSchmidtBuilder.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_STIELTJES_GRAM_SCHMIDT_BUILDER_HPP
11 #define STOKHOS_STIELTJES_GRAM_SCHMIDT_BUILDER_HPP
12 
13 #include "Teuchos_Array.hpp"
14 #include "Teuchos_RCP.hpp"
15 
16 #include "Stokhos_Quadrature.hpp"
21 
22 namespace Stokhos {
23 
30  template <typename ordinal_type, typename value_type>
32  public:
33 
38  ordinal_type new_order, bool use_pce_qp, bool normalize);
39 
42 
45  getReducedBasis() const;
46 
49  getReducedQuadrature() const;
50 
52  void
56 
57  private:
58 
59  // Prohibit copying
61 
62  // Prohibit Assignment
64 
65  protected:
66 
69 
72 
75 
78 
79  }; // class StieltjesGramSchmidtBuilder
80 
81 } // Namespace Stokhos
82 
83 // Include template definitions
85 
86 #endif // STOKHOS_STIELTJES_GRAM_SCHMIDT_BUILDER_HPP
Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > tensor_basis
Reduced tensor basis.
Teuchos::RCP< const Quadrature< ordinal_type, value_type > > quad
Quadrature object for original basis.
Teuchos::RCP< UserDefinedQuadrature< ordinal_type, value_type > > gs_quad
Reduced quadrature.
Class for building a reduced-dimension basis and quadrature from a given set of polynomial chaos expa...
StieltjesGramSchmidtBuilder(const Teuchos::RCP< const Quadrature< ordinal_type, value_type > > &quad, const Teuchos::Array< OrthogPolyApprox< ordinal_type, value_type > > &pces, ordinal_type new_order, bool use_pce_qp, bool normalize)
Constructor.
Abstract base class for quadrature methods.
Teuchos::RCP< Quadrature< ordinal_type, value_type > > getReducedQuadrature() const
Get reduced quadrature.
void computeReducedPCEs(const Teuchos::Array< OrthogPolyApprox< ordinal_type, value_type > > &pces, Teuchos::Array< OrthogPolyApprox< ordinal_type, value_type > > &new_pces)
Get reduced PCEs.
Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > getReducedBasis() const
Get reduced basis.
Teuchos::RCP< GramSchmidtBasis< ordinal_type, value_type > > gs_basis
Reduced Gram-Schmidt basis.
StieltjesGramSchmidtBuilder & operator=(const StieltjesGramSchmidtBuilder &b)