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>
Teuchos::RefCountPtr< LinearOpWithSolveBase<
Scalar > > 
Thyra::linearOpWithSolve (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RefCountPtr< 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>
void Thyra::initializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, const Teuchos::RefCountPtr< 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::RefCountPtr< 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::RefCountPtr< const LinearOpBase< Scalar > > &fwdOp, const Teuchos::RefCountPtr< 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::RefCountPtr< const LinearOpBase< Scalar > > &fwdOp, const Teuchos::RefCountPtr< 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>
void Thyra::uninitializeOp (const LinearOpWithSolveFactoryBase< Scalar > &lowsFactory, LinearOpWithSolveBase< Scalar > *Op, Teuchos::RefCountPtr< const LinearOpBase< Scalar > > *fwdOp=NULL, Teuchos::RefCountPtr< const PreconditionerBase< Scalar > > *prec=NULL, Teuchos::RefCountPtr< 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 isCompatible const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const LinearOpBase< Scalar > &  fwdOp
 

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

Examples:
silly1DFFT_serial.cpp.

Definition at line 44 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
Teuchos::RefCountPtr<LinearOpWithSolveBase<Scalar> > linearOpWithSolve const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RefCountPtr< 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.

Examples:
Thyra_LinearOpWithSolveFactoryExamples.hpp.

Definition at line 58 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void initializeOp const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &  fwdOp,
LinearOpWithSolveBase< Scalar > *  Op,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED
 

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

Definition at line 75 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void initializeAndReuseOp const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RefCountPtr< 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.

Definition at line 91 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void initializePreconditionedOp const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &  fwdOp,
const Teuchos::RefCountPtr< const PreconditionerBase< Scalar > > &  prec,
LinearOpWithSolveBase< Scalar > *  Op,
const ESupportSolveUse  supportSolveUse = SUPPORT_SOLVE_UNSPECIFIED
 

Initialize a preconditioned LOWSB object given an external preconditioner.

Definition at line 106 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void initializeApproxPreconditionedOp const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &  fwdOp,
const Teuchos::RefCountPtr< 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.

Definition at line 123 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.

template<class Scalar>
void uninitializeOp const LinearOpWithSolveFactoryBase< Scalar > &  lowsFactory,
LinearOpWithSolveBase< Scalar > *  Op,
Teuchos::RefCountPtr< const LinearOpBase< Scalar > > *  fwdOp = NULL,
Teuchos::RefCountPtr< const PreconditionerBase< Scalar > > *  prec = NULL,
Teuchos::RefCountPtr< const LinearOpBase< Scalar > > *  approxFwdOp = NULL,
ESupportSolveUse supportSolveUse = NULL
 

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

Definition at line 142 of file Thyra_LinearOpWithSolveFactoryHelpers.hpp.


Generated on Thu Sep 18 12:32:45 2008 for Thyra Operator Solve Support by doxygen 1.3.9.1