10 #ifndef STOKHOS_PRECONDITIONER_FACTORY_HPP
11 #define STOKHOS_PRECONDITIONER_FACTORY_HPP
26 const std::string& prec_name,
35 bool compute_prec =
true);
51 #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.