42 #ifndef STOKHOS_ABSTRACT_PRECONDITIONER_FACTORY_HPP
43 #define STOKHOS_ABSTRACT_PRECONDITIONER_FACTORY_HPP
63 bool compute_prec =
true) = 0;
74 #endif // STOKHOS_ABSTRACT_PRECONDITIONER_FACTORY_HPP
virtual ~AbstractPreconditionerFactory()
Destructor.
virtual void recompute(const Teuchos::RCP< Epetra_Operator > &mat, const Teuchos::RCP< Epetra_Operator > &prec)=0
Recompute preconditioner operator for a new matrix.
An abstract class to represent a generic preconditioner factory.
virtual Teuchos::RCP< Epetra_Operator > compute(const Teuchos::RCP< Epetra_Operator > &mat, bool compute_prec=true)=0
Compute preconditioner operator.
AbstractPreconditionerFactory()
Constructor.