Thyra::LinearOpScalarProd< Scalar > Class Template Reference
[Basic Support Subclasses Abstracting Application-Specific Scalar Products]

Concrete implementation of a scalar product using a symmetric positive-definite linear operator. More...

#include <Thyra_LinearOpScalarProd_decl.hpp>

Inheritance diagram for Thyra::LinearOpScalarProd< Scalar >:
Inheritance graph
[legend]

List of all members.

Constructors, initializers, accessors



 LinearOpScalarProd ()
 
 LinearOpScalarProd (const RCP< const LinearOpBase< Scalar > > &op)
 
void initialize (const RCP< const LinearOpBase< Scalar > > &op)
 
const RCP< const LinearOpBase
< Scalar > > & 
op () const
 
void uninitialize (const Ptr< RCP< const LinearOpBase< Scalar > > > &op=Teuchos::null)
 

Overridden from ScalarProdBase



virtual bool isEuclideanImpl () const
 Returns false.
void scalarProdsImpl (const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const
 
RCP< const LinearOpBase< Scalar > > getLinearOpImpl () const
 

Detailed Description

template<class Scalar>
class Thyra::LinearOpScalarProd< Scalar >

Concrete implementation of a scalar product using a symmetric positive-definite linear operator.

This subclass will work with any VectorBase or MultiVectorBase implementation who's vector spaces are compatible with the underlying symmetric positive-definite linear operator object.

Definition at line 48 of file Thyra_LinearOpScalarProd_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Thyra::LinearOpScalarProd< Scalar >::LinearOpScalarProd (  )  [inline]

Definition at line 47 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
Thyra::LinearOpScalarProd< Scalar >::LinearOpScalarProd ( const RCP< const LinearOpBase< Scalar > > &  op  )  [inline]

Definition at line 52 of file Thyra_LinearOpScalarProd_def.hpp.


Member Function Documentation

template<class Scalar >
void Thyra::LinearOpScalarProd< Scalar >::initialize ( const RCP< const LinearOpBase< Scalar > > &  op  )  [inline]

Definition at line 60 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
const RCP< const LinearOpBase< Scalar > > & Thyra::LinearOpScalarProd< Scalar >::op (  )  const [inline]

Definition at line 104 of file Thyra_LinearOpScalarProd_decl.hpp.

template<class Scalar >
void Thyra::LinearOpScalarProd< Scalar >::uninitialize ( const Ptr< RCP< const LinearOpBase< Scalar > > > &  op = Teuchos::null  )  [inline]

Definition at line 72 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
bool Thyra::LinearOpScalarProd< Scalar >::isEuclideanImpl (  )  const [inline, protected, virtual]

Returns false.

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 85 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
void Thyra::LinearOpScalarProd< Scalar >::scalarProdsImpl ( const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y,
const ArrayView< Scalar > &  scalarProds_out 
) const [inline, protected, virtual]

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 92 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
RCP< const LinearOpBase< Scalar > > Thyra::LinearOpScalarProd< Scalar >::getLinearOpImpl (  )  const [inline, protected, virtual]

Reimplemented from Thyra::ScalarProdBase< Scalar >.

Definition at line 106 of file Thyra_LinearOpScalarProd_def.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:00:49 2011 for Thyra by  doxygen 1.6.3