Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_SGOperator.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_SG_OPERATOR_HPP
11 #define STOKHOS_SG_OPERATOR_HPP
12 
13 #include "Teuchos_RCP.hpp"
16 
17 namespace Stokhos {
18 
23  class SGOperator : public virtual Epetra_Operator {
24  public:
25 
28 
30  virtual ~SGOperator() {}
31 
33  virtual void setupOperator(
35 
38  getSGPolynomial() = 0;
39 
42  getSGPolynomial() const = 0;
43 
44  }; // class SGOperator
45 
46 } // namespace Stokhos
47 
48 #endif // STOKHOS_SG_OPERATOR_HPP
virtual void setupOperator(const Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > &poly)=0
Setup operator.
An abstract class to represent a generic stochastic Galerkin operator as an Epetra_Operator.
virtual Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > getSGPolynomial()=0
Get SG polynomial.
virtual ~SGOperator()
Destructor.