|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
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
Teuchos::RCP< Stokhos::AbstractPreconditionerFactory > factory
Preconditioner factory.
An class for building preconditioners.
An abstract class to represent a generic preconditioner factory.
virtual ~PreconditionerFactory()
Destructor.
PreconditionerFactory(const std::string &prec_name, const Teuchos::RCP< Teuchos::ParameterList > ¶ms)
Constructor.
virtual Teuchos::RCP< Epetra_Operator > compute(const Teuchos::RCP< Epetra_Operator > &mat, bool compute_prec=true)
Compute preconditioner operator.
Top-level namespace for Stokhos classes and functions.
virtual void recompute(const Teuchos::RCP< Epetra_Operator > &mat, const Teuchos::RCP< Epetra_Operator > &prec)
Recompute preconditioner operator for a new matrix.