42#ifndef STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
43#define STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
45#include "Teuchos_ParameterList.hpp"
63 virtual Teuchos::RCP<Epetra_Operator>
64 compute(
const Teuchos::RCP<Epetra_Operator>& op,
65 bool compute_prec =
true);
69 recompute(
const Teuchos::RCP<Epetra_Operator>& op,
70 const Teuchos::RCP<Epetra_Operator>& prec);
An abstract class to represent a generic preconditioner factory.
A factory for building ML preconditioners.
MLPreconditionerFactory(const Teuchos::RCP< Teuchos::ParameterList > &p)
Constructor.
virtual ~MLPreconditionerFactory()
Destructor.
Teuchos::RCP< Teuchos::ParameterList > precParams
Preconditioner parameters.
virtual Teuchos::RCP< Epetra_Operator > compute(const Teuchos::RCP< Epetra_Operator > &op, bool compute_prec=true)
Compute preconditioner.
virtual void recompute(const Teuchos::RCP< Epetra_Operator > &op, const Teuchos::RCP< Epetra_Operator > &prec)
Recompute preconditioner operator for a new matrix.
Top-level namespace for Stokhos classes and functions.