10 #ifndef STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
11 #define STOKHOS_ML_PRECONDITIONER_FACTORY_HPP
33 bool compute_prec =
true);
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.
virtual ~MLPreconditionerFactory()
Destructor.