Thyra
Version of the Day
|
General delayed construction LinearOpWithSolveFactoryBase subclass. More...
#include <Thyra_DelayedLinearOpWithSolveFactory_decl.hpp>
Overridden from Constructors/Initializers/Accessors | |
DelayedLinearOpWithSolveFactory (const RCP< LinearOpWithSolveFactoryBase< Scalar > > &lowsf) | |
RCP < LinearOpWithSolveFactoryBase < Scalar > > | getUnderlyingLOWSF () |
RCP< const LinearOpWithSolveFactoryBase < Scalar > > | getUnderlyingLOWSF () const |
Overridden from Teuchos::Describable. | |
std::string | description () const |
Overridden from ParameterListAcceptor (simple forwarding functions) | |
void | setParameterList (RCP< ParameterList > const ¶mList) |
RCP< ParameterList > | getNonconstParameterList () |
RCP< ParameterList > | unsetParameterList () |
RCP< const ParameterList > | getParameterList () const |
RCP< const ParameterList > | getValidParameters () const |
Overridden from LinearOpWithSolveFactoyBase | |
virtual bool | acceptsPreconditionerFactory () const |
virtual void | setPreconditionerFactory (const RCP< PreconditionerFactoryBase< Scalar > > &precFactory, const std::string &precFactoryName) |
virtual RCP < PreconditionerFactoryBase < Scalar > > | getPreconditionerFactory () const |
virtual void | unsetPreconditionerFactory (RCP< PreconditionerFactoryBase< Scalar > > *precFactory, std::string *precFactoryName) |
virtual bool | isCompatible (const LinearOpSourceBase< Scalar > &fwdOpSrc) const |
virtual RCP < LinearOpWithSolveBase < Scalar > > | createOp () const |
virtual void | initializeOp (const RCP< const LinearOpSourceBase< Scalar > > &fwdOpSrc, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse) const |
virtual void | initializeAndReuseOp (const RCP< const LinearOpSourceBase< Scalar > > &fwdOpSrc, LinearOpWithSolveBase< Scalar > *Op) const |
virtual void | uninitializeOp (LinearOpWithSolveBase< Scalar > *Op, RCP< const LinearOpSourceBase< Scalar > > *fwdOpSrc, RCP< const PreconditionerBase< Scalar > > *prec, RCP< const LinearOpSourceBase< Scalar > > *approxFwdOpSrc, ESupportSolveUse *supportSolveUse) const |
virtual bool | supportsPreconditionerInputType (const EPreconditionerInputType precOpType) const |
virtual void | initializePreconditionedOp (const RCP< const LinearOpSourceBase< Scalar > > &fwdOpSrc, const RCP< const PreconditionerBase< Scalar > > &prec, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse) const |
virtual void | initializeApproxPreconditionedOp (const RCP< const LinearOpSourceBase< Scalar > > &fwdOpSrc, const RCP< const LinearOpSourceBase< Scalar > > &approxFwdOpSrc, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse) const |
void | informUpdatedVerbosityState () const |
Overridden from Teuchos::VerboseObjectBase. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Thyra::LinearOpWithSolveFactoryBase< Scalar > | |
Related Functions inherited from Thyra::LinearOpWithSolveFactoryBase< Scalar > | |
template<class Scalar > | |
bool | isCompatible (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const LinearOpBase< Scalar > &fwdOp) |
Return if the forward operator is a compatible source for a LOWSFB object. More... | |
template<class Scalar > | |
void | setDefaultObjectLabel (const LinearOpBase< Scalar > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op) |
Set default label on a LOWSB object. More... | |
template<class Scalar > | |
void | initializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Initialize a pre-created LOWSB object given a forward operator. More... | |
template<class Scalar > | |
void | initializeAndReuseOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op) |
Reinitialize a pre-created LOWSB object given a forward operator, reusing a much as possible from the prior LOWSB object. More... | |
template<class Scalar > | |
void | initializePreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const RCP< const PreconditionerBase< Scalar > > &prec, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Initialize a preconditioned LOWSB object given an external preconditioner. More... | |
template<class Scalar > | |
void | initializeApproxPreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const RCP< const LinearOpBase< Scalar > > &approxFwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &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... | |
template<class Scalar > | |
RCP< LinearOpWithSolveBase < Scalar > > | linearOpWithSolve (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
Create and initialize a LinearOpWithSolveBase object from a LinearOpBase object using a LinearOpWithSolveFactoryBase strategy object. More... | |
template<class Scalar > | |
RCP< LinearOpBase< Scalar > > | inverse (const LinearOpWithSolveFactoryBase< Scalar > &LOWSF, const RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED, const Ptr< const SolveCriteria< Scalar > > &fwdSolveCriteria=Teuchos::null, const EThrowOnSolveFailure throwOnFwdSolveFailure=THROW_ON_SOLVE_FAILURE, const Ptr< const SolveCriteria< Scalar > > &adjSolveCriteria=Teuchos::null, const EThrowOnSolveFailure throwOnAdjSolveFailure=THROW_ON_SOLVE_FAILURE) |
Form a const implicit inverse operator M = inv(A) given a factory. More... | |
template<class Scalar > | |
void | uninitializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const Ptr< RCP< const LinearOpBase< Scalar > > > &fwdOp=Teuchos::null, const Ptr< RCP< const PreconditionerBase< Scalar > > > &prec=Teuchos::null, const Ptr< RCP< const LinearOpBase< Scalar > > > &approxFwdOp=Teuchos::null, const Ptr< ESupportSolveUse > &supportSolveUse=Teuchos::null) |
Uninitialized a pre-created LOWSB object, returning input objects used to initialize it. More... | |
General delayed construction LinearOpWithSolveFactoryBase subclass.
This simple decorator class allows for the delayed construction of the linear solver until the last possible moment when the linear solver is needed. This class creates LinearOpWithSolveBase objects of type DelayedLinearOpWithSolve. The class object DelayedLinearOpWithSolve actually implements the delayed linear solver construction.
Definition at line 30 of file Thyra_DelayedLinearOpWithSolveFactory_decl.hpp.
Thyra::DelayedLinearOpWithSolveFactory< Scalar >::DelayedLinearOpWithSolveFactory | ( | const RCP< LinearOpWithSolveFactoryBase< Scalar > > & | lowsf | ) |
Definition at line 26 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
RCP< LinearOpWithSolveFactoryBase< Scalar > > Thyra::DelayedLinearOpWithSolveFactory< Scalar >::getUnderlyingLOWSF | ( | ) |
Definition at line 38 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
RCP< const LinearOpWithSolveFactoryBase< Scalar > > Thyra::DelayedLinearOpWithSolveFactory< Scalar >::getUnderlyingLOWSF | ( | ) | const |
Definition at line 46 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Teuchos::Describable.
Definition at line 56 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 75 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 85 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 93 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 101 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 109 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 119 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 126 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 137 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 144 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 154 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 164 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 175 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 193 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 203 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 236 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 245 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 264 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.
|
protectedvirtual |
Overridden from Teuchos::VerboseObjectBase.
Reimplemented from Teuchos::VerboseObjectBase.
Definition at line 286 of file Thyra_DelayedLinearOpWithSolveFactory_def.hpp.