Tempus
Version of the Day
Time Integration
|
A LinearOpWithSolveFactory that is designed to reuse an already created/initialized preconditioner. More...
#include <Thyra_ReuseLinearOpWithSolveFactory.hpp>
Private Types | |
typedef Teuchos::ConstNonconstObjectContainer < LinearOpWithSolveFactoryBase < Scalar > > | LOWSF_t |
Private Attributes | |
LOWSF_t | lowsf_ |
RCP< PreconditionerBase< Scalar > > | prec_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class Scalar > | |
RCP < ReuseLinearOpWithSolveFactory < Scalar > > | nonconstReuseLinearOpWithSolveFactory (const RCP< LinearOpWithSolveFactoryBase< Scalar > > &lowsf, const RCP< PreconditionerBase< Scalar > > &prec) |
Nonmember constructor. More... | |
template<class Scalar > | |
RCP < ReuseLinearOpWithSolveFactory < Scalar > > | reuseLinearOpWithSolveFactory (const RCP< const LinearOpWithSolveFactoryBase< Scalar > > &lowsf, const RCP< PreconditionerBase< Scalar > > &prec) |
Nonmember constructor. More... | |
Overridden from Constructors/Initializers/Accessors | |
ReuseLinearOpWithSolveFactory () | |
Construct to uninitialized. More... | |
void | nonconstInitialize (const RCP< LinearOpWithSolveFactoryBase< Scalar > > &lowsf, const RCP< PreconditionerBase< Scalar > > &prec) |
Initialize given a single non-const LOWSFB object. More... | |
void | initialize (const RCP< const LinearOpWithSolveFactoryBase< Scalar > > &lowsf, const RCP< PreconditionerBase< Scalar > > &prec) |
Initialize given a single const LOWSFB object. More... | |
RCP < LinearOpWithSolveFactoryBase < Scalar > > | getUnderlyingLOWSF () |
RCP< const LinearOpWithSolveFactoryBase < Scalar > > | getUnderlyingLOWSF () const |
RCP< PreconditionerBase< Scalar > > | getUnderlyingPreconditioner () |
RCP< const PreconditionerBase < Scalar > > | getUnderlyingPreconditioner () 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 |
returns false. More... | |
virtual void | setPreconditionerFactory (const RCP< PreconditionerFactoryBase< Scalar > > &precFactory, const std::string &precFactoryName) |
Throws exception. More... | |
virtual RCP < PreconditionerFactoryBase < Scalar > > | getPreconditionerFactory () const |
Returns null . More... | |
virtual void | unsetPreconditionerFactory (RCP< PreconditionerFactoryBase< Scalar > > *precFactory, std::string *precFactoryName) |
Throws exception. More... | |
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 > | |
bool | isCompatible (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const LinearOpBase< Scalar > &fwdOp) |
void | setDefaultObjectLabel (const LinearOpBase< Scalar > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op) |
void | initializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
void | initializeAndReuseOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const Ptr< LinearOpWithSolveBase< Scalar > > &Op) |
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) |
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) |
RCP< LinearOpWithSolveBase < Scalar > > | linearOpWithSolve (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED) |
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) |
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) |
Public Member Functions inherited from Teuchos::Describable | |
virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
virtual | ~Describable () |
LabeledObject () | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
virtual std::string | getObjectLabel () const |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Public Member Functions inherited from Teuchos::ParameterListAcceptor | |
virtual void | setParameterList (const RCP< ParameterList > ¶mList)=0 |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default |
A LinearOpWithSolveFactory that is designed to reuse an already created/initialized preconditioner.
Definition at line 22 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
private |
Definition at line 157 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
inline |
Construct to uninitialized.
Definition at line 29 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
void Thyra::ReuseLinearOpWithSolveFactory< Scalar >::nonconstInitialize | ( | const RCP< LinearOpWithSolveFactoryBase< Scalar > > & | lowsf, |
const RCP< PreconditionerBase< Scalar > > & | prec | ||
) |
Initialize given a single non-const LOWSFB object.
lowsf | [in,persisting] The LOWSFB object that will be used to create the LOWSB object for the diagonal blocks. |
prec | [?] Description. |
Preconditions:
!is_null(lowsf)
Definition at line 197 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
void Thyra::ReuseLinearOpWithSolveFactory< Scalar >::initialize | ( | const RCP< const LinearOpWithSolveFactoryBase< Scalar > > & | lowsf, |
const RCP< PreconditionerBase< Scalar > > & | prec | ||
) |
Initialize given a single const LOWSFB object.
lowsf | [in,persisting] The LOWSFB object that will be used to create the LOWSB object for the diagonal blocks. |
prec | [?] Description. |
Preconditions:
!is_null(lowsf)
Definition at line 210 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
RCP< LinearOpWithSolveFactoryBase< Scalar > > Thyra::ReuseLinearOpWithSolveFactory< Scalar >::getUnderlyingLOWSF | ( | ) |
Definition at line 224 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
RCP< const LinearOpWithSolveFactoryBase< Scalar > > Thyra::ReuseLinearOpWithSolveFactory< Scalar >::getUnderlyingLOWSF | ( | ) | const |
Definition at line 231 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
RCP< PreconditionerBase< Scalar > > Thyra::ReuseLinearOpWithSolveFactory< Scalar >::getUnderlyingPreconditioner | ( | ) |
Definition at line 238 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
RCP< const PreconditionerBase< Scalar > > Thyra::ReuseLinearOpWithSolveFactory< Scalar >::getUnderlyingPreconditioner | ( | ) | const |
Definition at line 245 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Teuchos::Describable.
Definition at line 253 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
void Thyra::ReuseLinearOpWithSolveFactory< Scalar >::setParameterList | ( | RCP< ParameterList > const & | paramList | ) |
Definition at line 275 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 283 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Teuchos::ParameterListAcceptor.
Definition at line 289 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 296 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Teuchos::ParameterListAcceptor.
Definition at line 303 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
returns false.
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 311 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Throws exception.
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 317 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Returns null .
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 326 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Throws exception.
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 332 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 340 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 348 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 354 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 363 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Implements Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 371 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 383 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 390 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
virtual |
Reimplemented from Thyra::LinearOpWithSolveFactoryBase< Scalar >.
Definition at line 401 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
protected |
Overridden from Teuchos::VerboseObjectBase.
Definition at line 414 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
related |
Nonmember constructor.
Definition at line 169 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
related |
Nonmember constructor.
Definition at line 184 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
private |
Definition at line 159 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.
|
private |
Definition at line 160 of file Thyra_ReuseLinearOpWithSolveFactory.hpp.