Teko Version of the Day
Loading...
Searching...
No Matches
List of all members
Teko::ProbingPreconditionerFactory Class Reference

Preconditioner factory that builds a probing approximation to an operator and then "inverts" it as requested. More...

#include <Teko_ProbingPreconditionerFactory.hpp>

Inheritance diagram for Teko::ProbingPreconditionerFactory:
Inheritance graph
[legend]

Constructors.

 ProbingPreconditionerFactory ()
 
LinearOp buildPreconditionerOperator (LinearOp &lo, PreconditionerState &state) const override
 
void initializeFromParameterList (const Teuchos::ParameterList &pl) override
 Initialize from a parameter list.
 

Additional Inherited Members

- Public Member Functions inherited from Teko::PreconditionerFactory
virtual Teuchos::RCP< PreconditionerState > buildPreconditionerState () const
 Function that permits the construction of an arbitrary PreconditionerState object.
 
virtual Teuchos::RCP< Teuchos::ParameterList > getRequestedParameters () const
 Request the additional parameters this preconditioner factory needs.
 
virtual bool updateRequestedParameters (const Teuchos::ParameterList &)
 Update this object with the fields from a parameter list.
 
void setInverseLibrary (const Teuchos::RCP< const InverseLibrary > &il)
 Set the inverse library used by this preconditioner factory.
 
Teuchos::RCP< const InverseLibrary > getInverseLibrary () const
 Get the inverse library used by this preconditioner factory.
 
bool isCompatible (const Thyra::LinearOpSourceBase< double > &fwdOpSrc) const
 is this operator compatiable with the preconditioner factory?
 
Teuchos::RCP< Thyra::PreconditionerBase< double > > createPrec () const
 create an instance of the preconditioner
 
void initializePrec (const Teuchos::RCP< const Thyra::LinearOpSourceBase< double > > &fwdOpSrc, const Teuchos::RCP< const Thyra::MultiVectorBase< double > > &solnVec, Thyra::PreconditionerBase< double > *precOp, const Thyra::ESupportSolveUse supportSolveUse) const
 initialize a newly created preconditioner object
 
void initializePrec (const Teuchos::RCP< const Thyra::LinearOpSourceBase< double > > &fwdOpSrc, Thyra::PreconditionerBase< double > *precOp, const Thyra::ESupportSolveUse supportSolveUse) const
 initialize a newly created preconditioner object
 
void uninitializePrec (Thyra::PreconditionerBase< double > *prec, Teuchos::RCP< const Thyra::LinearOpSourceBase< double > > *fwdOpSrc, Thyra::ESupportSolveUse *supportSolveUse) const
 wipe clean a already initialized preconditioner object
 
void setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &paramList)
 Set parameters from a parameter list and return with default values.
 
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList ()
 Get the parameter list that was set using setParameterList().
 
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList ()
 Unset the parameter list that was set using setParameterList().
 
void setRequestHandler (const Teuchos::RCP< RequestHandler > &rh)
 Set the request handler with pointers to the appropriate callbacks.
 
Teuchos::RCP< RequestHandler > getRequestHandler () const
 Get the request handler with pointers to the appropriate callbacks.
 
- Static Public Member Functions inherited from Teko::PreconditionerFactory
static Teuchos::RCP< PreconditionerFactory > buildPreconditionerFactory (const std::string &name, const Teuchos::ParameterList &settings, const Teuchos::RCP< const InverseLibrary > &invLib=Teuchos::null)
 Builder function for creating preconditioner factories (yes this is a factory factory).
 
static void addPreconditionerFactory (const std::string &name, const Teuchos::RCP< Cloneable > &clone)
 Add a preconditioner factory to the builder. This is done using the clone pattern.
 
static void getPreconditionerFactoryNames (std::vector< std::string > &names)
 Get the names of the block preconditioner factories.
 
- Protected Attributes inherited from Teko::PreconditionerFactory
Teuchos::RCP< Teuchos::ParameterList > paramList_
 for ParameterListAcceptor
 
Teuchos::RCP< RequestHandler > callbackHandler_
 For handling requests and send requests back to the user.
 

Detailed Description

Preconditioner factory that builds a probing approximation to an operator and then "inverts" it as requested.

NOTE: You need to set the probing Graph or GraphOperator for probing to know what to do.

Definition at line 27 of file Teko_ProbingPreconditionerFactory.hpp.

Constructor & Destructor Documentation

◆ ProbingPreconditionerFactory()

Teko::ProbingPreconditionerFactory::ProbingPreconditionerFactory ( )

Build an empty probing preconditioner factory

Definition at line 287 of file Teko_ProbingPreconditionerFactory.cpp.

Member Function Documentation

◆ buildPreconditionerOperator()

LinearOp Teko::ProbingPreconditionerFactory::buildPreconditionerOperator ( LinearOp &  lo,
PreconditionerState &  state 
) const
overridevirtual

Create the probed preconditioner operator.

Implements Teko::PreconditionerFactory.

Definition at line 289 of file Teko_ProbingPreconditionerFactory.cpp.

◆ initializeFromParameterList()

void Teko::ProbingPreconditionerFactory::initializeFromParameterList ( const Teuchos::ParameterList &  pl)
overridevirtual

Initialize from a parameter list.

Reimplemented from Teko::PreconditionerFactory.

Definition at line 300 of file Teko_ProbingPreconditionerFactory.cpp.


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