Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_IfpackPreconditionerFactory.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_IFPACK_PRECONDITIONER_FACTORY_HPP
11 #define STOKHOS_IFPACK_PRECONDITIONER_FACTORY_HPP
12 
14 
16 
17 namespace Stokhos {
18 
22  public:
23 
26 
29 
33  bool compute_prec = true);
34 
36  virtual void
38  const Teuchos::RCP<Epetra_Operator>& prec);
39 
40  protected:
41 
44 
45  }; // class IfpackPreconditionerFactory
46 
47 } // namespace Stokhos
48 
49 #endif // STOKHOS_IFPACK_PRECONDITIONER_FACTORY_HPP
Teuchos::RCP< Teuchos::ParameterList > precParams
Preconditioner parameters.
An abstract class to represent a generic preconditioner factory.
IfpackPreconditionerFactory(const Teuchos::RCP< Teuchos::ParameterList > &p)
Constructor.
virtual void recompute(const Teuchos::RCP< Epetra_Operator > &op, const Teuchos::RCP< Epetra_Operator > &prec)
Recompute preconditioner operator for a new matrix.
virtual Teuchos::RCP< Epetra_Operator > compute(const Teuchos::RCP< Epetra_Operator > &op, bool compute_prec=true)
Compute preconditioner.
A factory for building Ifpack preconditioners.