Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_BasisFactory.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_BASIS_FACTORY_HPP
11 #define STOKHOS_BASIS_FACTORY_HPP
12 
13 #include "Teuchos_RCP.hpp"
16 
17 namespace Stokhos {
18 
20  template <typename ordinal_type, typename value_type>
21  class BasisFactory {
22  public:
23 
26 
28  virtual ~BasisFactory() {};
29 
32  create(Teuchos::ParameterList& sgParams);
33 
34  protected:
35 
38 
39  private:
40 
41  // Prohibit copying
42  BasisFactory(const BasisFactory&);
43 
44  // Prohibit Assignment
46 
47  }; // class BasisFactory
48 
49 } // Namespace Stokhos
50 
51 // Include template definitions
53 
54 #endif // STOKHOS_BASIS_FACTORY_HPP
virtual ~BasisFactory()
Destructor.
BasisFactory & operator=(const BasisFactory &b)
static Teuchos::RCP< const Stokhos::OneDOrthogPolyBasis< ordinal_type, value_type > > create1DBasis(Teuchos::ParameterList &params)
Generate 1-D basis.
Factory for building multivariate orthogonal polynomial bases.
static Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > create(Teuchos::ParameterList &sgParams)
Generate multivariate basis.