Thyra::DiagonalEpetraLinearOpWithSolveFactory Class Reference
[Epetra to Thyra Operator/Vector Adapter Code]

Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object. More...

#include <Thyra_DiagonalEpetraLinearOpWithSolveFactory.hpp>

Inheritance diagram for Thyra::DiagonalEpetraLinearOpWithSolveFactory:

Inheritance graph
[legend]
List of all members.

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
 Uninitialize a LinearOpWithSolveBase object and return its remembered forward linear operator and potentially also its externally generated preconditioner.

Overridden from ParameterListAcceptor

void setParameterList (Teuchos::RCP< Teuchos::ParameterList > const &paramList)
 
Teuchos::RCP< Teuchos::ParameterListgetNonconstParameterList ()
 
Teuchos::RCP< Teuchos::ParameterListunsetParameterList ()
 
Teuchos::RCP< const Teuchos::ParameterListgetParameterList () const
 
Teuchos::RCP< const Teuchos::ParameterListgetValidParameters () const
 

Detailed Description

Create a DefaultDiagonalLinearOpWithSolve out of a diagonal Epetra_RowMatrix object.

Definition at line 44 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.hpp.


Member Function Documentation

bool Thyra::DiagonalEpetraLinearOpWithSolveFactory::isCompatible ( const LinearOpSourceBase< double > &  fwdOpSrc  )  const [virtual]

Implements Thyra::LinearOpWithSolveFactoryBase< double >.

Definition at line 43 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

Teuchos::RCP< LinearOpWithSolveBase< double > > Thyra::DiagonalEpetraLinearOpWithSolveFactory::createOp (  )  const [virtual]

Implements Thyra::LinearOpWithSolveFactoryBase< double >.

Definition at line 65 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

void Thyra::DiagonalEpetraLinearOpWithSolveFactory::initializeOp ( const Teuchos::RCP< const LinearOpSourceBase< double > > &  fwdOpSrc,
LinearOpWithSolveBase< double > *  Op,
const ESupportSolveUse  supportSolveUse 
) const [virtual]

Implements Thyra::LinearOpWithSolveFactoryBase< double >.

Definition at line 70 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

void Thyra::DiagonalEpetraLinearOpWithSolveFactory::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 [virtual]

Uninitialize a LinearOpWithSolveBase object and return its remembered forward linear operator and potentially also its externally generated preconditioner.

Parameters:
Op [in/out] On input, *Op is an initialized or uninitialized object and on output is uninitialized. Note that "uninitialized" does not mean that Op is completely stateless. It may still remember some aspect of the matrix fwdOpSrc that will allow for a more efficient initialization next time through this->initializeOp().
fwdOpSrc [in/out] If fwdOpSrc!=NULL on input, then on output this is set to the same forward operator passed into this->initializeOp().
prec [in/out] If prep!=NULL on input, then on output, this this is set to same preconditioner that was passed into this->initializePreconditionedOp().
approxFwdOpSrc [in/out] If approxFwdOpSrc!=NULL on input, then on output, this is set to same approximate forward operator that was passed into this->initializePreconditionedOp().
ESupportSolveUse [in/out] If fwdOpSrc!=NULL on input, then on output this is set to same option value passed to this->initializeOp().
Preconditions:

Postconditions:

This function should be called before the forward operator passed in to this->initializeOp() is modified. Otherwise, *this could be left in an inconsistent state. However, this is not required.

Implements Thyra::LinearOpWithSolveFactoryBase< double >.

Definition at line 107 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

void Thyra::DiagonalEpetraLinearOpWithSolveFactory::setParameterList ( Teuchos::RCP< Teuchos::ParameterList > const &  paramList  )  [virtual]

Implements Teuchos::ParameterListAcceptor.

Definition at line 138 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

Teuchos::RCP< Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::getNonconstParameterList (  )  [virtual]

Implements Teuchos::ParameterListAcceptor.

Definition at line 144 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

Teuchos::RCP< Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::unsetParameterList (  )  [virtual]

Implements Teuchos::ParameterListAcceptor.

Definition at line 150 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

Teuchos::RCP< const Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::getParameterList (  )  const [virtual]

Reimplemented from Teuchos::ParameterListAcceptor.

Definition at line 156 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.

Teuchos::RCP< const Teuchos::ParameterList > Thyra::DiagonalEpetraLinearOpWithSolveFactory::getValidParameters (  )  const [virtual]

Reimplemented from Teuchos::ParameterListAcceptor.

Definition at line 162 of file Thyra_DiagonalEpetraLinearOpWithSolveFactory.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:26:43 2010 for Thyra by  doxygen 1.4.7