LinearOpWithSolveFactoryBase subclass implemented in terms of AztecOO.
More...
#include <Thyra_AztecOOLinearOpWithSolveFactory.hpp>

Constructors/initializers/accessors | |
| AztecOOLinearOpWithSolveFactory (Teuchos::RCP< Teuchos::ParameterList > const ¶mList=Teuchos::null) | |
| Construct uninitialized. | |
| STANDARD_COMPOSITION_MEMBERS (EpetraOperatorViewExtractorBase, epetraFwdOpViewExtractor) | |
Set the strategy object used to extract an Epetra_Operator view of an input forward operator. | |
Overridden public functions from LinearOpWithSolveFactoryBase | |
| bool | acceptsPreconditionerFactory () const |
| Returns true . | |
| void | setPreconditionerFactory (const Teuchos::RCP< PreconditionerFactoryBase< double > > &precFactory, const std::string &precFactoryName) |
| | |
| Teuchos::RCP < PreconditionerFactoryBase < double > > | getPreconditionerFactory () const |
| | |
| void | unsetPreconditionerFactory (Teuchos::RCP< PreconditionerFactoryBase< double > > *precFactory, std::string *precFactoryName) |
| | |
| bool | isCompatible (const LinearOpSourceBase< double > &fwdOpSrc) const |
| | |
| Teuchos::RCP < LinearOpWithSolveBase < double > > | createOp () const |
| | |
| void | initializeOp (const Teuchos::RCP< const LinearOpSourceBase< double > > &fwdOpSrc, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse) const |
| | |
| void | initializeAndReuseOp (const Teuchos::RCP< const LinearOpSourceBase< double > > &fwdOpSrc, LinearOpWithSolveBase< double > *Op) const |
| | |
| void | uninitializeOp (LinearOpWithSolveBase< double > *Op, Teuchos::RCP< const LinearOpSourceBase< double > > *fwdOpSrc, Teuchos::RCP< const PreconditionerBase< double > > *prec, Teuchos::RCP< const LinearOpSourceBase< double > > *approxFwdOpSrc, ESupportSolveUse *supportSolveUse) const |
| | |
| bool | supportsPreconditionerInputType (const EPreconditionerInputType precOpType) const |
| | |
| void | initializePreconditionedOp (const Teuchos::RCP< const LinearOpSourceBase< double > > &fwdOpSrc, const Teuchos::RCP< const PreconditionerBase< double > > &prec, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse) const |
| | |
| void | initializeApproxPreconditionedOp (const Teuchos::RCP< const LinearOpSourceBase< double > > &fwdOpSrc, const Teuchos::RCP< const LinearOpSourceBase< double > > &approxFwdOpSrc, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse) const |
| | |
Overridden from ParameterListAcceptor | |
| void | setParameterList (Teuchos::RCP< Teuchos::ParameterList > const ¶mList) |
| | |
| Teuchos::RCP < Teuchos::ParameterList > | getParameterList () |
| | |
| Teuchos::RCP < Teuchos::ParameterList > | unsetParameterList () |
| | |
| Teuchos::RCP< const Teuchos::ParameterList > | getParameterList () const |
| | |
| Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
| | |
Public functions overridden from Teuchos::Describable. | |
| std::string | description () const |
| | |
LinearOpWithSolveFactoryBase subclass implemented in terms of AztecOO.
This class creates objects of type AztecOOLinearOpWithSolve (through the LinearOpWithSolveBase interface) using AztecOO objects.
The class can support both externally defined preconditioners and built-in aztec preconditioners. Then built-in aztec preconditioners are used (as specified by the input parameter list), *this only supports very limited functionality and does not support adjoint solves. However, when no preconditioning or externally defined preconditioners are used, *this supports a wide range of features which include:
LinearOpBase objects through the ScaledAdjointLinearOpBase interface. Definition at line 67 of file Thyra_AztecOOLinearOpWithSolveFactory.hpp.
| Thyra::AztecOOLinearOpWithSolveFactory::AztecOOLinearOpWithSolveFactory | ( | Teuchos::RCP< Teuchos::ParameterList > const & | paramList = Teuchos::null |
) |
| Thyra::AztecOOLinearOpWithSolveFactory::STANDARD_COMPOSITION_MEMBERS | ( | EpetraOperatorViewExtractorBase | , | |
| epetraFwdOpViewExtractor | ||||
| ) |
Set the strategy object used to extract an Epetra_Operator view of an input forward operator.
This view will then be dynamically casted to Epetra_RowMatrix before it is used.
The default implementation used is EpetraOperatorViewExtractorBase.
| bool Thyra::AztecOOLinearOpWithSolveFactory::acceptsPreconditionerFactory | ( | ) | const [virtual] |
Returns true .
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 110 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| void Thyra::AztecOOLinearOpWithSolveFactory::setPreconditionerFactory | ( | const Teuchos::RCP< PreconditionerFactoryBase< double > > & | precFactory, | |
| const std::string & | precFactoryName | |||
| ) |
| Teuchos::RCP< PreconditionerFactoryBase< double > > Thyra::AztecOOLinearOpWithSolveFactory::getPreconditionerFactory | ( | ) | const [virtual] |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 139 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| void Thyra::AztecOOLinearOpWithSolveFactory::unsetPreconditionerFactory | ( | Teuchos::RCP< PreconditionerFactoryBase< double > > * | precFactory, | |
| std::string * | precFactoryName | |||
| ) |
| bool Thyra::AztecOOLinearOpWithSolveFactory::isCompatible | ( | const LinearOpSourceBase< double > & | fwdOpSrc | ) | const |
| Teuchos::RCP< LinearOpWithSolveBase< double > > Thyra::AztecOOLinearOpWithSolveFactory::createOp | ( | ) | const [virtual] |
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 167 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| void Thyra::AztecOOLinearOpWithSolveFactory::initializeOp | ( | const Teuchos::RCP< const LinearOpSourceBase< double > > & | fwdOpSrc, | |
| LinearOpWithSolveBase< double > * | Op, | |||
| const ESupportSolveUse | supportSolveUse | |||
| ) | const |
| void Thyra::AztecOOLinearOpWithSolveFactory::initializeAndReuseOp | ( | const Teuchos::RCP< const LinearOpSourceBase< double > > & | fwdOpSrc, | |
| LinearOpWithSolveBase< double > * | Op | |||
| ) | const |
| void Thyra::AztecOOLinearOpWithSolveFactory::uninitializeOp | ( | LinearOpWithSolveBase< double > * | Op, | |
| Teuchos::RCP< const LinearOpSourceBase< double > > * | fwdOpSrc, | |||
| Teuchos::RCP< const PreconditionerBase< double > > * | prec, | |||
| Teuchos::RCP< const LinearOpSourceBase< double > > * | approxFwdOpSrc, | |||
| ESupportSolveUse * | supportSolveUse | |||
| ) | const |
| bool Thyra::AztecOOLinearOpWithSolveFactory::supportsPreconditionerInputType | ( | const EPreconditionerInputType | precOpType | ) | const [virtual] |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 192 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| void Thyra::AztecOOLinearOpWithSolveFactory::initializePreconditionedOp | ( | const Teuchos::RCP< const LinearOpSourceBase< double > > & | fwdOpSrc, | |
| const Teuchos::RCP< const PreconditionerBase< double > > & | prec, | |||
| LinearOpWithSolveBase< double > * | Op, | |||
| const ESupportSolveUse | supportSolveUse | |||
| ) | const |
| void Thyra::AztecOOLinearOpWithSolveFactory::initializeApproxPreconditionedOp | ( | const Teuchos::RCP< const LinearOpSourceBase< double > > & | fwdOpSrc, | |
| const Teuchos::RCP< const LinearOpSourceBase< double > > & | approxFwdOpSrc, | |||
| LinearOpWithSolveBase< double > * | Op, | |||
| const ESupportSolveUse | supportSolveUse | |||
| ) | const |
| void Thyra::AztecOOLinearOpWithSolveFactory::setParameterList | ( | Teuchos::RCP< Teuchos::ParameterList > const & | paramList | ) | [virtual] |
Implements Teuchos::ParameterListAcceptor.
Definition at line 278 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| Teuchos::RCP< Teuchos::ParameterList > Thyra::AztecOOLinearOpWithSolveFactory::getParameterList | ( | ) | [virtual] |
Implements Teuchos::ParameterListAcceptor.
Definition at line 317 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| Teuchos::RCP< Teuchos::ParameterList > Thyra::AztecOOLinearOpWithSolveFactory::unsetParameterList | ( | ) | [virtual] |
Implements Teuchos::ParameterListAcceptor.
Definition at line 324 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| Teuchos::RCP< const Teuchos::ParameterList > Thyra::AztecOOLinearOpWithSolveFactory::getParameterList | ( | ) | const [virtual] |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 333 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| Teuchos::RCP< const Teuchos::ParameterList > Thyra::AztecOOLinearOpWithSolveFactory::getValidParameters | ( | ) | const [virtual] |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 340 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
| std::string Thyra::AztecOOLinearOpWithSolveFactory::description | ( | ) | const [virtual] |
Reimplemented from Teuchos::Describable.
Definition at line 349 of file Thyra_AztecOOLinearOpWithSolveFactory.cpp.
1.5.8