Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar > Class Template Reference

Simple concreate subclass of LinearOpWithSolveBase for serial dense matrices implemented using LAPACK. More...

#include <Thyra_DefaultSerialDenseLinearOpWithSolve_decl.hpp>

Inheritance diagram for Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >:

Inheritance graph
[legend]
List of all members.

Constructors/initializers/accessors

 DefaultSerialDenseLinearOpWithSolve ()
 
void initialize (const RCP< const MultiVectorBase< Scalar > > &M)
 
RCP< const LinearOpBase< Scalar > > getFwdOp () const
 

Overridden from LinearOpBase

RCP< const VectorSpaceBase<
Scalar > > 
range () const
 
RCP< const VectorSpaceBase<
Scalar > > 
domain () const
 

Overridden from LinearOpBase

bool opSupportedImpl (EOpTransp M_trans) const
 
void applyImpl (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 

Overridden from LinearOpWithSolveBase

bool solveSupportsImpl (EOpTransp M_trans) const
 
bool solveSupportsSolveMeasureTypeImpl (EOpTransp M_trans, const SolveMeasureType &solveMeasureType) const
 
SolveStatus< Scalar > solveImpl (const EOpTransp transp, const MultiVectorBase< Scalar > &B, const Ptr< MultiVectorBase< Scalar > > &X, const Ptr< const SolveCriteria< Scalar > > solveCriteria) const
 

Related Functions

(Note that these are not member functions.)

RCP< DefaultSerialDenseLinearOpWithSolve<
Scalar > > 
defaultSerialDenseLinearOpWithSolve ()
 Nonmember constructor.
RCP< DefaultSerialDenseLinearOpWithSolve<
Scalar > > 
defaultSerialDenseLinearOpWithSolve (const RCP< const MultiVectorBase< Scalar > > &M)
 Nonmember constructor.

Detailed Description

template<class Scalar>
class Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >

Simple concreate subclass of LinearOpWithSolveBase for serial dense matrices implemented using LAPACK.

This class uses the helper class DetachedMultiVectorView to extract an explicit view of the matrix elements and then uses Teuchos::LAPACK to factor M = L * U and then do back-solves with the factors L and U.

Even through this class accesses explicit matrix entries and is called SerialDense, it is still considered an ANA subclass since it does not have any direct dependance on a specific computing environment or concreate operator/vector/vectorspace implementation.

ToDo: Finish Documentation!

Definition at line 78 of file Thyra_DefaultSerialDenseLinearOpWithSolve_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::DefaultSerialDenseLinearOpWithSolve (  ) 

Definition at line 49 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.


Member Function Documentation

template<class Scalar>
void Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::initialize ( const RCP< const MultiVectorBase< Scalar > > &  M  ) 

Definition at line 54 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
RCP< const LinearOpBase< Scalar > > Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::getFwdOp (  )  const

Definition at line 70 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::range (  )  const [virtual]

Implements Thyra::LinearOpBase< Scalar >.

Definition at line 80 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::domain (  )  const [virtual]

Implements Thyra::LinearOpBase< Scalar >.

Definition at line 90 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
bool Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::opSupportedImpl ( EOpTransp  M_trans  )  const [protected, virtual]

Implements Thyra::LinearOpBase< Scalar >.

Definition at line 105 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
void Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::applyImpl ( const EOpTransp  M_trans,
const MultiVectorBase< Scalar > &  X,
const Ptr< MultiVectorBase< Scalar > > &  Y,
const Scalar  alpha,
const Scalar  beta 
) const [protected, virtual]

Implements Thyra::LinearOpBase< Scalar >.

Definition at line 113 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
bool Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::solveSupportsImpl ( EOpTransp  M_trans  )  const [protected, virtual]

Reimplemented from Thyra::LinearOpWithSolveBase< Scalar >.

Definition at line 129 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
bool Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::solveSupportsSolveMeasureTypeImpl ( EOpTransp  M_trans,
const SolveMeasureType solveMeasureType 
) const [protected, virtual]

Reimplemented from Thyra::LinearOpWithSolveBase< Scalar >.

Definition at line 138 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.

template<class Scalar>
SolveStatus< Scalar > Thyra::DefaultSerialDenseLinearOpWithSolve< Scalar >::solveImpl ( const EOpTransp  transp,
const MultiVectorBase< Scalar > &  B,
const Ptr< MultiVectorBase< Scalar > > &  X,
const Ptr< const SolveCriteria< Scalar > >  solveCriteria 
) const [protected, virtual]

Implements Thyra::LinearOpWithSolveBase< Scalar >.

Definition at line 148 of file Thyra_DefaultSerialDenseLinearOpWithSolve_def.hpp.


Friends And Related Function Documentation

template<class Scalar>
RCP< DefaultSerialDenseLinearOpWithSolve< Scalar > > defaultSerialDenseLinearOpWithSolve (  )  [related]

Nonmember constructor.

Definition at line 182 of file Thyra_DefaultSerialDenseLinearOpWithSolve_decl.hpp.

template<class Scalar>
RCP< DefaultSerialDenseLinearOpWithSolve< Scalar > > defaultSerialDenseLinearOpWithSolve ( const RCP< const MultiVectorBase< Scalar > > &  M  )  [related]

Nonmember constructor.

Definition at line 194 of file Thyra_DefaultSerialDenseLinearOpWithSolve_decl.hpp.


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