Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_MLPreconditionerFactory.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_ML_PRECONDITIONER_FACTORY_HPP
11 #define STOKHOS_ML_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 MLPreconditionerFactory
46 
47 } // namespace Stokhos
48 
49 #endif // STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
virtual Teuchos::RCP< Epetra_Operator > compute(const Teuchos::RCP< Epetra_Operator > &op, bool compute_prec=true)
Compute preconditioner.
MLPreconditionerFactory(const Teuchos::RCP< Teuchos::ParameterList > &p)
Constructor.
Teuchos::RCP< Teuchos::ParameterList > precParams
Preconditioner parameters.
A factory for building ML preconditioners.
An abstract class to represent a generic preconditioner factory.
virtual void recompute(const Teuchos::RCP< Epetra_Operator > &op, const Teuchos::RCP< Epetra_Operator > &prec)
Recompute preconditioner operator for a new matrix.