Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
Stokhos::PreconditionerFactory Class Reference

An class for building preconditioners. More...

#include <Stokhos_PreconditionerFactory.hpp>

Inheritance diagram for Stokhos::PreconditionerFactory:
Inheritance graph
[legend]

Public Member Functions

 PreconditionerFactory (const std::string &prec_name, const Teuchos::RCP< Teuchos::ParameterList > &params)
 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...
 

Detailed Description

An class for building preconditioners.

Definition at line 53 of file Stokhos_PreconditionerFactory.hpp.

Constructor & Destructor Documentation

Stokhos::PreconditionerFactory::PreconditionerFactory ( const std::string &  prec_name,
const Teuchos::RCP< Teuchos::ParameterList > &  params 
)

Constructor.

Definition at line 50 of file Stokhos_PreconditionerFactory.cpp.

virtual Stokhos::PreconditionerFactory::~PreconditionerFactory ( )
inlinevirtual

Destructor.

Definition at line 62 of file Stokhos_PreconditionerFactory.hpp.

Member Function Documentation

Teuchos::RCP< Epetra_Operator > Stokhos::PreconditionerFactory::compute ( const Teuchos::RCP< Epetra_Operator > &  mat,
bool  compute_prec = true 
)
virtual

Compute preconditioner operator.

Implements Stokhos::AbstractPreconditionerFactory.

Definition at line 67 of file Stokhos_PreconditionerFactory.cpp.

void Stokhos::PreconditionerFactory::recompute ( const Teuchos::RCP< Epetra_Operator > &  mat,
const Teuchos::RCP< Epetra_Operator > &  prec 
)
virtual

Recompute preconditioner operator for a new matrix.

Implements Stokhos::AbstractPreconditionerFactory.

Definition at line 74 of file Stokhos_PreconditionerFactory.cpp.

Member Data Documentation

Teuchos::RCP<Stokhos::AbstractPreconditionerFactory> Stokhos::PreconditionerFactory::factory
protected

Preconditioner factory.

Definition at line 77 of file Stokhos_PreconditionerFactory.hpp.


The documentation for this class was generated from the following files: