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