Thyra
Version of the Day
|
Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object. More...
#include <Thyra_DiagonalEpetraLinearOpWithSolveFactory.hpp>
Overridden from LinearOpWithSolveFactoryBase | |
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 | 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 |
Uninitialize a LinearOpWithSolveBase object and return its remembered forward linear operator and potentially also its externally generated preconditioner. More... | |
Overridden from ParameterListAcceptor | |
void | setParameterList (Teuchos::RCP< Teuchos::ParameterList > const ¶mList) |
Teuchos::RCP < Teuchos::ParameterList > | getNonconstParameterList () |
Teuchos::RCP < Teuchos::ParameterList > | unsetParameterList () |
Teuchos::RCP< const Teuchos::ParameterList > | getParameterList () const |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object.
Definition at line 25 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 24 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 47 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 53 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Uninitialize a LinearOpWithSolveBase
object and return its remembered forward linear operator and potentially also its externally generated preconditioner.
Op | [in/out] On input, *Op is an initialized or uninitialized object and on output is uninitialized. Note that "uninitialized" does not mean that Op is completely stateless. It may still remember some aspect of the matrix fwdOpSrc that will allow for a more efficient initialization next time through this->initializeOp() . |
fwdOpSrc | [in/out] If fwdOpSrc!=NULL on input, then on output this is set to the same forward operator passed into this->initializeOp() . |
prec | [in/out] If prep!=NULL on input, then on output, this this is set to same preconditioner that was passed into this->initializePreconditionedOp() . |
approxFwdOpSrc | [in/out] If approxFwdOpSrc!=NULL on input, then on output, this is set to same approximate forward operator that was passed into this->initializePreconditionedOp() . |
ESupportSolveUse | [in/out] If fwdOpSrc!=NULL on input, then on output this is set to same option value passed to this->initializeOp() . |
Preconditions:
*Op
must have been created by this->createOp()
prior to calling this function.
Op
may or may not have been passed through a call to this->initializeOp()
or this->initializePreconditionedOp()
.
Postconditions:
If *Op
on input was initialized through a call to this->initializeOp()
and if fwdOpSrc!=NULL
then (*fwdOpSrc).get()!=NULL
.
If *Op
was uninitialized on input and fwdOpSrc!=NULL
then fwdOpSrc->get()==NULL
out output.
On output, *Op
can be considered to be uninitialized and it is safe to modify the forward operator object *(*fwdOpSrc)
returned in fwdOpSrc
. The default is fwdOpSrc==NULL
in which case the forward operator will not be returned in *fwdOpSrc
.
This function should be called before the forward operator passed in to this->initializeOp()
is modified. Otherwise, *this
could be left in an inconsistent state. However, this is not required.
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 92 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 125 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 132 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 139 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 146 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 153 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.