LinearOpWithSolveBase subclass implemented using AztecOO.
More...
#include <Thyra_AztecOOLinearOpWithSolve.hpp>
Inheritance diagram for Thyra::AztecOOLinearOpWithSolve:

Constructors/initializers/accessors | |
| AztecOOLinearOpWithSolve (const int fwdDefaultMaxIterations=400, const double fwdDefaultTol=1e-6, const int adjDefaultMaxIterations=400, const double adjDefaultTol=1e-6, const bool outputEveryRhs=false) | |
| Construct uninitialized but with default option values. | |
| void | fwdDefaultMaxIterations (const int &fwdDefaultMaxIterations) |
| The default maximum number of iterations for forward solves. | |
| const int & | fwdDefaultMaxIterations () const |
| void | fwdDefaultTol (const double &fwdDefaultTol) |
| The default solution tolerance on the residual for forward solves. | |
| const double & | fwdDefaultTol () const |
| void | adjDefaultMaxIterations (const int &adjDefaultMaxIterations) |
| The default maximum number of iterations for adjoint solves. | |
| const int & | adjDefaultMaxIterations () const |
| void | adjDefaultTol (const double &adjDefaultTol) |
| The default solution tolerance on the residual for adjoint solves. | |
| const double & | adjDefaultTol () const |
| void | outputEveryRhs (const bool &outputEveryRhs) |
| Determine if output for every RHS will be printed or not. | |
| const bool & | outputEveryRhs () const |
| void | initialize (const Teuchos::RefCountPtr< const LinearOpBase< double > > &fwdOp, const Teuchos::RefCountPtr< const LinearOpSourceBase< double > > &fwdOpSrc, const Teuchos::RefCountPtr< const PreconditionerBase< double > > &prec, const bool isExternalPrec, const Teuchos::RefCountPtr< const LinearOpSourceBase< double > > &approxFwdOpSrc, const Teuchos::RefCountPtr< AztecOO > &aztecFwdSolver, const bool allowInexactFwdSolve=false, const Teuchos::RefCountPtr< AztecOO > &aztecAdjSolver=Teuchos::null, const bool allowInexactAdjSolve=false, const double aztecSolverScalar=1.0) |
| Sets up this object. | |
| Teuchos::RefCountPtr< const LinearOpSourceBase< double > > | extract_fwdOpSrc () |
Extract the forward LinearOpBase<double> object so that it can be modified. | |
| Teuchos::RefCountPtr< const PreconditionerBase< double > > | extract_prec () |
| Extract the preconditioner. | |
| bool | isExternalPrec () const |
| Determine if the preconditioner was external or not. | |
| Teuchos::RefCountPtr< const LinearOpSourceBase< double > > | extract_approxFwdOpSrc () |
Extract the approximate forward LinearOpBase<double> object used to build the preconditioner. | |
| void | uninitialize (Teuchos::RefCountPtr< const LinearOpBase< double > > *fwdOp=NULL, Teuchos::RefCountPtr< const LinearOpSourceBase< double > > *fwdOpSrc=NULL, Teuchos::RefCountPtr< const PreconditionerBase< double > > *prec=NULL, bool *isExternalPrec=NULL, Teuchos::RefCountPtr< const LinearOpSourceBase< double > > *approxFwdOpSrc=NULL, Teuchos::RefCountPtr< AztecOO > *aztecFwdSolver=NULL, bool *allowInexactFwdSolve=NULL, Teuchos::RefCountPtr< AztecOO > *aztecAdjSolver=NULL, bool *allowInexactAdjSolve=NULL, double *aztecSolverScalar=NULL) |
| Uninitialize. | |
Overridden from LinearOpBase | |
| Teuchos::RefCountPtr< const VectorSpaceBase< double > > | range () const |
| . | |
| Teuchos::RefCountPtr< const VectorSpaceBase< double > > | domain () const |
| . | |
| Teuchos::RefCountPtr< const LinearOpBase< double > > | clone () const |
| . | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
| | |
Overridden from SingleScalarLinearOpBase | |
| bool | opSupported (ETransp M_trans) const |
| | |
Overridden from SingleRhsLinearOpBase | |
| void | apply (const ETransp M_trans, const VectorBase< double > &x, VectorBase< double > *y, const double alpha, const double beta) const |
| | |
Overridden from SingleScalarLinearOpWithSolveBase | |
| bool | solveSupportsTrans (ETransp M_trans) const |
| | |
| bool | solveSupportsSolveMeasureType (ETransp M_trans, const SolveMeasureType &solveMeasureType) const |
| | |
| void | solve (const ETransp M_trans, const MultiVectorBase< double > &B, MultiVectorBase< double > *X, const int numBlocks, const BlockSolveCriteria< double > blockSolveCriteria[], SolveStatus< double > blockSolveStatus[]) const |
| | |
LinearOpWithSolveBase subclass implemented using AztecOO.
This subclass is designed to be very flexible and handle a number of different use cases. It supports forward and optionally adjoint (transpose) solves. I can support inexact solves based on a relative residual norm tolerance or just allow for a default (i.e. tight) linear solve tolerance.
This subclass is not designed to be used directly by users but instead by subclasses of LinearOpWithSolveFactoryBase. One standard implementation that is fairly flexible (and will be make more flexible in the future) is AztecOOLinearOpWithSolveFactory.
This subclass allows for user-defined preconditioners or for built-in aztec preconditioners.
ToDo: Finish documentation!
Definition at line 64 of file Thyra_AztecOOLinearOpWithSolve.hpp.
|
||||||||||||||||||||||||
|
Construct uninitialized but with default option values. Note, these defaults where taken from NOX::EpetraNew::LinearSystemAztecOO::applyJacobianInverse(...) on 2005/08/15. Definition at line 65 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
The default maximum number of iterations for forward solves.
Definition at line 89 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
Definition at line 89 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
The default solution tolerance on the residual for forward solves.
Definition at line 91 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
Definition at line 91 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
The default maximum number of iterations for adjoint solves.
Definition at line 93 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
Definition at line 93 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
The default solution tolerance on the residual for adjoint solves.
Definition at line 95 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
Definition at line 95 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
Determine if output for every RHS will be printed or not.
Definition at line 97 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
|
Definition at line 97 of file Thyra_AztecOOLinearOpWithSolve.hpp. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Sets up this object.
Postconditions:
ToDo: Finish documentation! Definition at line 85 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Extract the forward
Definition at line 116 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Extract the preconditioner.
Definition at line 125 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Determine if the preconditioner was external or not.
Definition at line 133 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Extract the approximate forward
Definition at line 139 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Uninitialize.
Definition at line 147 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
.
Definition at line 186 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
.
Definition at line 192 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
.
Definition at line 198 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Definition at line 205 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Implements Thyra::SingleScalarLinearOpBase< Scalar >. Definition at line 223 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
||||||||||||||||||||||||
|
Implements Thyra::SingleRhsLinearOpBase< double >. Definition at line 230 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
|
Implements Thyra::SingleScalarLinearOpWithSolveBase< double >. Definition at line 243 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
||||||||||||
|
Implements Thyra::SingleScalarLinearOpWithSolveBase< double >. Definition at line 249 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
|
||||||||||||||||||||||||||||
|
Implements Thyra::SingleScalarLinearOpWithSolveBase< double >. Definition at line 278 of file Thyra_AztecOOLinearOpWithSolve.cpp. |
1.3.9.1