Non-member helper functions for Thyra::LinearOpWithSolveFactoryBase

Functions

template<class Scalar >
bool Thyra::isCompatible (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const LinearOpBase< Scalar > &fwdOp)
 Return if the forward operator is a compatible source for a LOWSFB object.
template<class Scalar >
void Thyra::setDefaultObjectLabel (const LinearOpBase< Scalar > &fwdOp, LinearOpWithSolveBase< Scalar > *Op)
 Set default label on a LOWSB object.
template<class Scalar >
void Thyra::initializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Initialize a pre-created LOWSB object given a forward operator.
template<class Scalar >
void Thyra::initializeAndReuseOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, LinearOpWithSolveBase< Scalar > *Op)
 Reinitialize a pre-created LOWSB object given a forward operator, reusing a much as possible from the prior LOWSB object.
template<class Scalar >
void Thyra::initializePreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const Teuchos::RCP< const PreconditionerBase< Scalar > > &prec, LinearOpWithSolveBase< Scalar > *Op, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED)
 Initialize a preconditioned LOWSB object given an external preconditioner.
template<class Scalar >
void Thyra::initializeApproxPreconditionedOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const Teuchos::RCP< const LinearOpBase< Scalar > > &approxFwdOp, 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.
template<class Scalar >
Teuchos::RCP
< LinearOpWithSolveBase
< Scalar > > 
Thyra::linearOpWithSolve (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::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.
template<class Scalar >
Teuchos::RCP< LinearOpBase
< Scalar > > 
Thyra::inverse (const LinearOpWithSolveFactoryBase< Scalar > &LOWSF, const Teuchos::RCP< const LinearOpBase< Scalar > > &fwdOp, const ESupportSolveUse supportSolveUse=SUPPORT_SOLVE_UNSPECIFIED, const SolveCriteria< Scalar > *fwdSolveCriteria=NULL, const EThrowOnSolveFailure throwOnFwdSolveFailure=THROW_ON_SOLVE_FAILURE, const SolveCriteria< Scalar > *adjSolveCriteria=NULL, const EThrowOnSolveFailure throwOnAdjSolveFailure=THROW_ON_SOLVE_FAILURE)
 Form a const implicit inverse operator M = inv(A) given a factory.
template<class Scalar >
void Thyra::uninitializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, LinearOpWithSolveBase< Scalar > *Op, Teuchos::RCP< const LinearOpBase< Scalar > > *fwdOp=NULL, Teuchos::RCP< const PreconditionerBase< Scalar > > *prec=NULL, Teuchos::RCP< const LinearOpBase< Scalar > > *approxFwdOp=NULL, ESupportSolveUse *supportSolveUse=NULL)
 Uninitialized a pre-created LOWSB object, returning input objects used to initialize it.

Function Documentation

template<class Scalar >
bool Thyra::isCompatible ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const LinearOpBase< Scalar > &  fwdOp 
) [inline]

Return if the forward operator is a compatible source for a LOWSFB object.

Definition at line 47 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

References Thyra::LinearOpWithSolveFactoryBase< Scalar >::isCompatible().

template<class Scalar >
void Thyra::setDefaultObjectLabel ( const LinearOpBase< Scalar > &  fwdOp,
LinearOpWithSolveBase< Scalar > *  Op 
) [inline]
template<class Scalar >
void Thyra::initializeOp ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
LinearOpWithSolveBase< Scalar > *  Op,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED 
) [inline]

Initialize a pre-created LOWSB object given a forward operator.

Definition at line 79 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

References Thyra::LinearOpWithSolveFactoryBase< Scalar >::initializeOp(), and Thyra::setDefaultObjectLabel().

template<class Scalar >
void Thyra::initializeAndReuseOp ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
LinearOpWithSolveBase< Scalar > *  Op 
) [inline]

Reinitialize a pre-created LOWSB object given a forward operator, reusing a much as possible from the prior LOWSB object.

Definition at line 97 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

References Thyra::LinearOpWithSolveFactoryBase< Scalar >::initializeAndReuseOp(), and Thyra::setDefaultObjectLabel().

template<class Scalar >
void Thyra::initializePreconditionedOp ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
const Teuchos::RCP< const PreconditionerBase< Scalar > > &  prec,
LinearOpWithSolveBase< Scalar > *  Op,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED 
) [inline]

Initialize a preconditioned LOWSB object given an external preconditioner.

Definition at line 114 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

References Thyra::LinearOpWithSolveFactoryBase< Scalar >::initializePreconditionedOp(), Thyra::prec(), and Thyra::setDefaultObjectLabel().

template<class Scalar >
void Thyra::initializeApproxPreconditionedOp ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  approxFwdOp,
LinearOpWithSolveBase< Scalar > *  Op,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED 
) [inline]

Initialize a preconditioned LOWSB object given an external operator to be used to generate the preconditioner internally.

Definition at line 135 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

References Thyra::LinearOpWithSolveFactoryBase< Scalar >::initializeApproxPreconditionedOp(), and Thyra::setDefaultObjectLabel().

template<class Scalar >
Teuchos::RCP<LinearOpWithSolveBase<Scalar> > Thyra::linearOpWithSolve ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED 
) [inline]
template<class Scalar >
Teuchos::RCP<LinearOpBase<Scalar> > Thyra::inverse ( const LinearOpWithSolveFactoryBase< Scalar > &  LOWSF,
const Teuchos::RCP< const LinearOpBase< Scalar > > &  fwdOp,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED,
const SolveCriteria< Scalar > *  fwdSolveCriteria = NULL,
const EThrowOnSolveFailure  throwOnFwdSolveFailure = THROW_ON_SOLVE_FAILURE,
const SolveCriteria< Scalar > *  adjSolveCriteria = NULL,
const EThrowOnSolveFailure  throwOnAdjSolveFailure = THROW_ON_SOLVE_FAILURE 
) [inline]

Form a const implicit inverse operator M = inv(A) given a factory.

Definition at line 176 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

Referenced by Thyra::run_linear_op_with_solve_tests().

template<class Scalar >
void Thyra::uninitializeOp ( const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
LinearOpWithSolveBase< Scalar > *  Op,
Teuchos::RCP< const LinearOpBase< Scalar > > *  fwdOp = NULL,
Teuchos::RCP< const PreconditionerBase< Scalar > > *  prec = NULL,
Teuchos::RCP< const LinearOpBase< Scalar > > *  approxFwdOp = NULL,
ESupportSolveUse *  supportSolveUse = NULL 
) [inline]

Uninitialized a pre-created LOWSB object, returning input objects used to initialize it.

Definition at line 200 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

References Teuchos::RCP< T >::get(), Teuchos::null, Thyra::prec(), and Thyra::LinearOpWithSolveFactoryBase< Scalar >::uninitializeOp().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:04:27 2011 for Thyra Package Browser (Single Doxygen Collection) by  doxygen 1.6.3