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 |
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 |
Additional Inherited Members | |
![]() | |
virtual bool | acceptsPreconditionerFactory () const |
Determines if *this accepts external preconditioner factories. More... | |
virtual void | setPreconditionerFactory (const RCP< PreconditionerFactoryBase< double > > &precFactory, const std::string &precFactoryName) |
Set a preconditioner factory object. More... | |
virtual RCP< PreconditionerFactoryBase< double > > | getPreconditionerFactory () const |
Get a preconditioner factory object. More... | |
virtual void | unsetPreconditionerFactory (RCP< PreconditionerFactoryBase< double > > *precFactory=NULL, std::string *precFactoryName=NULL) |
Unset the preconditioner factory (if one is set). More... | |
virtual void | initializeOp (const RCP< const LinearOpSourceBase< double > > &fwdOpSrc, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) const=0 |
Initialize a pre-created LinearOpWithSolveBase object given a "compatible" LinearOpBase object. More... | |
virtual void | initializeAndReuseOp (const RCP< const LinearOpSourceBase< double > > &fwdOpSrc, LinearOpWithSolveBase< double > *Op) const |
Initialize a pre-created LinearOpWithSolveBase object given a "compatible" LinearOpBase object but allow for reuse of any preprocessing that is in *Op . More... | |
virtual void | uninitializeOp (LinearOpWithSolveBase< double > *Op, RCP< const LinearOpSourceBase< double > > *fwdOpSrc=NULL, RCP< const PreconditionerBase< double > > *prec=NULL, RCP< const LinearOpSourceBase< double > > *approxFwdOpSrc=NULL, ESupportSolveUse *supportSolveUse=NULL) const=0 |
Uninitialize a LinearOpWithSolveBase object and return its remembered forward linear operator and potentially also its externally generated preconditioner. More... | |
virtual bool | supportsPreconditionerInputType (const EPreconditionerInputType precOpType) const |
Determines if *this supports given preconditioner type. More... | |
virtual void | initializePreconditionedOp (const RCP< const LinearOpSourceBase< double > > &fwdOpSrc, const RCP< const PreconditionerBase< double > > &prec, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) const |
Initialize a pre-created LinearOpWithSolveBase object given a "compatible" LinearOpBase object and an optional PreconditionerBase object. More... | |
virtual void | initializeApproxPreconditionedOp (const RCP< const LinearOpSourceBase< double > > &fwdOpSrc, const RCP< const LinearOpSourceBase< double > > &approxFwdOpSrc, LinearOpWithSolveBase< double > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) const |
Initialize a pre-created LinearOpWithSolveBase object given a "compatible" forward LinearOpBase object and an approximate forward LinearOpBase object. More... | |
![]() | |
bool | isCompatible (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const LinearOpBase< double > &fwdOp) |
Return if the forward operator is a compatible source for a LOWSFB object. More... | |
void | initializeOp (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const RCP< const LinearOpBase< double > > &fwdOp, const Ptr< LinearOpWithSolveBase< double > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Initialize a pre-created LOWSB object given a forward operator. More... | |
void | initializeAndReuseOp (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const RCP< const LinearOpBase< double > > &fwdOp, const Ptr< LinearOpWithSolveBase< double > > &Op) |
Reinitialize a pre-created LOWSB object given a forward operator, reusing a much as possible from the prior LOWSB object. More... | |
void | uninitializeOp (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const Ptr< LinearOpWithSolveBase< double > > &Op, const Ptr< RCP< const LinearOpBase< double > > > &fwdOp=Teuchos::null, const Ptr< RCP< const PreconditionerBase< double > > > &prec=Teuchos::null, const Ptr< RCP< const LinearOpBase< double > > > &approxFwdOp=Teuchos::null, const Ptr< ESupportSolveUse > &supportSolveUse=Teuchos::null) |
Uninitialized a pre-created LOWSB object, returning input objects used to initialize it. More... | |
void | initializePreconditionedOp (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const RCP< const LinearOpBase< double > > &fwdOp, const RCP< const PreconditionerBase< double > > &prec, const Ptr< LinearOpWithSolveBase< double > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Initialize a preconditioned LOWSB object given an external preconditioner. More... | |
void | initializeApproxPreconditionedOp (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const RCP< const LinearOpBase< double > > &fwdOp, const RCP< const LinearOpBase< double > > &approxFwdOp, const Ptr< LinearOpWithSolveBase< double > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Initialize a preconditioned LOWSB object given an external operator to be used to generate the preconditioner internally. More... | |
void | setDefaultObjectLabel (const LinearOpBase< double > &fwdOp, const Ptr< LinearOpWithSolveBase< double > > &Op) |
Set default label on a LOWSB object. More... | |
RCP< LinearOpWithSolveBase< double > > | linearOpWithSolve (const LinearOpWithSolveFactoryBase< double > &lowsFactory, const RCP< const LinearOpBase< double > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Create and initialize a LinearOpWithSolveBase object from a LinearOpBase object using a LinearOpWithSolveFactoryBase strategy object. More... | |
RCP< LinearOpBase< double > > | inverse (const LinearOpWithSolveFactoryBase< double > &LOWSF, const RCP< const LinearOpBase< double > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED, const Ptr< const SolveCriteria< double > > &fwdSolveCriteria=Teuchos::null, const EThrowOnSolveFailure throwOnFwdSolveFailure=THROW_ON_SOLVE_FAILURE, const Ptr< const SolveCriteria< double > > &adjSolveCriteria=Teuchos::null, const EThrowOnSolveFailure throwOnAdjSolveFailure=THROW_ON_SOLVE_FAILURE) |
Form a const implicit inverse operator M = inv(A) given a factory. More... | |
Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object.
Definition at line 57 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 56 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< double >.
Definition at line 79 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
void Thyra::DiagonalEpetraLinearOpWithSolveFactory::initializeOp | ( | const Teuchos::RCP< const LinearOpSourceBase< double > > & | fwdOpSrc, |
LinearOpWithSolveBase< double > * | Op, | ||
const ESupportSolveUse | supportSolveUse | ||
) | const |
Definition at line 85 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
void Thyra::DiagonalEpetraLinearOpWithSolveFactory::setParameterList | ( | Teuchos::RCP< Teuchos::ParameterList > const & | paramList | ) |
Definition at line 157 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
RCP< Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::getNonconstParameterList | ( | ) |
Definition at line 164 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
RCP< Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::unsetParameterList | ( | ) |
Definition at line 171 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
RCP< const Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::getParameterList | ( | ) | const |
Definition at line 178 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.
RCP< const Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::getValidParameters | ( | ) | const |
Definition at line 185 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.