Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_DivisionExpansionStrategy.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_DIVISION_EXPANSION_STRATEGY_HPP
11 #define STOKHOS_DIVISION_EXPANSION_STRATEGY_HPP
12 
15 
16 namespace Stokhos {
17 
19  template <typename ordinal_type, typename value_type, typename node_type>
21  public:
22 
25 
28 
29  // Division operation: c = \alpha*(a/b) + beta*c
30  virtual void divide(
32  const value_type& alpha,
35  const value_type& beta) = 0;
36 
37  private:
38 
39  // Prohibit copying
41 
42  // Prohibit Assignment
44 
45  }; // class DivisionExpansionStrategy
46 
47 } // namespace Stokhos
48 
49 #endif // STOKHOS_DIVISION_EXPANSION_STRATEGY_HPP
DivisionExpansionStrategy & operator=(const DivisionExpansionStrategy &b)
virtual void divide(Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &alpha, const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &b, const value_type &beta)=0
Strategy interface for computing PCE of a/b.
Class to store coefficients of a projection onto an orthogonal polynomial basis.