42 #ifndef STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
43 #define STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
65 bool compute_prec =
true);
81 #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.
virtual ~MLPreconditionerFactory()
Destructor.