Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_SGPreconditioner.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_PRECONDITIONER_HPP
11 #define STOKHOS_SG_PRECONDITIONER_HPP
12 
13 #include "Teuchos_RCP.hpp"
14 #include "Epetra_Operator.h"
15 #include "Stokhos_SGOperator.hpp"
16 #include "Epetra_Vector.h"
17 
18 namespace Stokhos {
19 
24  class SGPreconditioner : public virtual Epetra_Operator {
25  public:
26 
29 
31  virtual ~SGPreconditioner() {}
32 
34  virtual void
36  const Epetra_Vector& x) = 0;
37 
38  }; // class SGPreconditioner
39 
40 } // namespace Stokhos
41 
42 #endif // STOKHOS_SG_PRECONDITIONER_HPP
virtual ~SGPreconditioner()
Destructor.
virtual void setupPreconditioner(const Teuchos::RCP< Stokhos::SGOperator > &sg_op, const Epetra_Vector &x)=0
Setup preconditioner.
An abstract class to represent a generic stochastic Galerkin preconditioner as an Epetra_Operator...