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_LinearOpScalarProdDecl.hpp>

Inheritance diagram for Thyra::LinearOpScalarProd< Scalar >:

[legend]
List of all members.

Constructors, initializers, accessors

 LinearOpScalarProd ()
 
 LinearOpScalarProd (const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &op)
 
void initialize (const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &op)
 
const Teuchos::RefCountPtr<
const LinearOpBase< Scalar > > & 
op () const
 
void uninitialize (Teuchos::RefCountPtr< const LinearOpBase< Scalar > > *op=NULL)
 

Overridden from ScalarProdBase

void scalarProds (const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, Scalar scalar_prods[]) const
 
void apply (const EuclideanLinearOpBase< Scalar > &M, const ETransp M_trans, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta) 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.

Examples:

test_scalar_product.cpp.

Definition at line 46 of file Thyra_LinearOpScalarProdDecl.hpp.


Constructor & Destructor Documentation

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

Definition at line 42 of file Thyra_LinearOpScalarProd.hpp.

template<class Scalar>
Thyra::LinearOpScalarProd< Scalar >::LinearOpScalarProd const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &  op  ) 
 

Definition at line 46 of file Thyra_LinearOpScalarProd.hpp.


Member Function Documentation

template<class Scalar>
void Thyra::LinearOpScalarProd< Scalar >::initialize const Teuchos::RefCountPtr< const LinearOpBase< Scalar > > &  op  ) 
 

Definition at line 52 of file Thyra_LinearOpScalarProd.hpp.

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

Definition at line 98 of file Thyra_LinearOpScalarProdDecl.hpp.

template<class Scalar>
void Thyra::LinearOpScalarProd< Scalar >::uninitialize Teuchos::RefCountPtr< const LinearOpBase< Scalar > > *  op = NULL  ) 
 

Definition at line 61 of file Thyra_LinearOpScalarProd.hpp.

template<class Scalar>
void Thyra::LinearOpScalarProd< Scalar >::scalarProds const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y,
Scalar  scalar_prods[]
const [virtual]
 

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 70 of file Thyra_LinearOpScalarProd.hpp.

template<class Scalar>
void Thyra::LinearOpScalarProd< Scalar >::apply const EuclideanLinearOpBase< Scalar > &  M,
const ETransp  M_trans,
const MultiVectorBase< Scalar > &  X,
MultiVectorBase< Scalar > *  Y,
const Scalar  alpha,
const Scalar  beta
const [virtual]
 

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 79 of file Thyra_LinearOpScalarProd.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:34 2008 for Thyra Operator/Vector Support by doxygen 1.3.9.1