Ifpack2 Templated Preconditioning Package  Version 1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Ifpack2_Details_NestedPreconditioner.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Ifpack2: Templated Object-Oriented Algebraic Preconditioner Package
4 //
5 // Copyright 2009 NTESS and the Ifpack2 contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef IFPACK2_DETAILS_NESTEDPRECONDITIONER_HPP
11 #define IFPACK2_DETAILS_NESTEDPRECONDITIONER_HPP
12 
18 
20 
21 namespace Ifpack2 {
22 namespace Details {
23 
63  template<class PrecType>
65  public:
66  virtual ~NestedPreconditioner() { }
67 
81  virtual void
82  setInnerPreconditioner (const Teuchos::RCP<PrecType>& innerPrec) = 0;
83  };
84 
85 } // namespace Details
86 } // namespace Ifpack2
87 
88 #endif // IFPACK2_DETAILS_NESTEDPRECONDITIONER_HPP
Mix-in interface for nested preconditioners.
Definition: Ifpack2_Details_NestedPreconditioner.hpp:64
virtual void setInnerPreconditioner(const Teuchos::RCP< PrecType > &innerPrec)=0
Set the inner preconditioner.