Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_ReducedPCEBasis.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_REDUCED_PCE_BASIS_HPP
11 #define STOKHOS_REDUCED_PCE_BASIS_HPP
12 
13 #include "Teuchos_RCP.hpp"
14 #include "Teuchos_Array.hpp"
16 #include "Stokhos_Quadrature.hpp"
17 
18 namespace Stokhos {
19 
24  template <typename ordinal_type, typename value_type>
25  class ReducedPCEBasis :
26  public virtual OrthogPolyBasis<ordinal_type,value_type> {
27  public:
28 
31 
33  virtual ~ReducedPCEBasis() {}
34 
36 
37 
39  virtual void
41  value_type *out,
42  ordinal_type ncol = 1,
43  bool transpose = false) const = 0;
44 
46  virtual void
48  value_type *out,
49  ordinal_type ncol = 1,
50  bool transpose = false) const = 0;
51 
54  getReducedQuadrature() const = 0;
55 
57 
58  private:
59 
60  // Prohibit copying
62 
63  // Prohibit Assignment
65 
66  }; // class ReducedPCEBasis
67 
68 } // Namespace Stokhos
69 
70 #endif
virtual ~ReducedPCEBasis()
Destructor.
ReducedPCEBasis()
Default constructor.
ReducedPCEBasis & operator=(const ReducedPCEBasis &)
Abstract base class for multivariate orthogonal polynomials.
Abstract base class for reduced basis strategies built from polynomial chaos expansions in some other...
virtual void transformFromOriginalBasis(const value_type *in, value_type *out, ordinal_type ncol=1, bool transpose=false) const =0
Transform coefficients from original basis to this basis.
virtual void transformToOriginalBasis(const value_type *in, value_type *out, ordinal_type ncol=1, bool transpose=false) const =0
Transform coefficients to original basis from this basis.
virtual Teuchos::RCP< const Stokhos::Quadrature< ordinal_type, value_type > > getReducedQuadrature() const =0
Get reduced quadrature object.