42 #ifndef STOKHOS_PRECONDITIONER_FACTORY_HPP
43 #define STOKHOS_PRECONDITIONER_FACTORY_HPP
58 const std::string& prec_name,
67 bool compute_prec =
true);
83 #endif // STOKHOS_PRECONDITIONER_FACTORY_HPP
virtual ~PreconditionerFactory()
Destructor.
virtual Teuchos::RCP< Epetra_Operator > compute(const Teuchos::RCP< Epetra_Operator > &mat, bool compute_prec=true)
Compute preconditioner operator.
An abstract class to represent a generic preconditioner factory.
An class for building preconditioners.
virtual void recompute(const Teuchos::RCP< Epetra_Operator > &mat, const Teuchos::RCP< Epetra_Operator > &prec)
Recompute preconditioner operator for a new matrix.
PreconditionerFactory(const std::string &prec_name, const Teuchos::RCP< Teuchos::ParameterList > ¶ms)
Constructor.
Teuchos::RCP< Stokhos::AbstractPreconditionerFactory > factory
Preconditioner factory.