Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
An class for building preconditioners. More...
#include <Stokhos_PreconditionerFactory.hpp>
Public Member Functions | |
PreconditionerFactory (const std::string &prec_name, const Teuchos::RCP< Teuchos::ParameterList > ¶ms) | |
Constructor. More... | |
virtual | ~PreconditionerFactory () |
Destructor. More... | |
virtual Teuchos::RCP < Epetra_Operator > | compute (const Teuchos::RCP< Epetra_Operator > &mat, bool compute_prec=true) |
Compute preconditioner operator. More... | |
virtual void | recompute (const Teuchos::RCP< Epetra_Operator > &mat, const Teuchos::RCP< Epetra_Operator > &prec) |
Recompute preconditioner operator for a new matrix. More... | |
Public Member Functions inherited from Stokhos::AbstractPreconditionerFactory | |
AbstractPreconditionerFactory () | |
Constructor. More... | |
virtual | ~AbstractPreconditionerFactory () |
Destructor. More... | |
Protected Attributes | |
Teuchos::RCP < Stokhos::AbstractPreconditionerFactory > | factory |
Preconditioner factory. More... | |
An class for building preconditioners.
Definition at line 21 of file Stokhos_PreconditionerFactory.hpp.
Stokhos::PreconditionerFactory::PreconditionerFactory | ( | const std::string & | prec_name, |
const Teuchos::RCP< Teuchos::ParameterList > & | params | ||
) |
Constructor.
Definition at line 16 of file Stokhos_PreconditionerFactory.cpp.
|
inlinevirtual |
Destructor.
Definition at line 30 of file Stokhos_PreconditionerFactory.hpp.
|
virtual |
Compute preconditioner operator.
Implements Stokhos::AbstractPreconditionerFactory.
Definition at line 33 of file Stokhos_PreconditionerFactory.cpp.
|
virtual |
Recompute preconditioner operator for a new matrix.
Implements Stokhos::AbstractPreconditionerFactory.
Definition at line 40 of file Stokhos_PreconditionerFactory.cpp.
|
protected |
Preconditioner factory.
Definition at line 45 of file Stokhos_PreconditionerFactory.hpp.