Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Thyra::LinearOpScalarProd< Scalar > Class Template Reference

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]

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. More...
 
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 61 of file Thyra_LinearOpScalarProd_decl.hpp.

Constructor & Destructor Documentation

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

Definition at line 60 of file Thyra_LinearOpScalarProd_def.hpp.

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

Definition at line 65 of file Thyra_LinearOpScalarProd_def.hpp.

Member Function Documentation

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

Definition at line 73 of file Thyra_LinearOpScalarProd_def.hpp.

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

Definition at line 117 of file Thyra_LinearOpScalarProd_decl.hpp.

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

Definition at line 85 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
bool Thyra::LinearOpScalarProd< Scalar >::isEuclideanImpl ( ) const
protectedvirtual

Returns false.

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 98 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
protectedvirtual

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 105 of file Thyra_LinearOpScalarProd_def.hpp.

template<class Scalar >
RCP< const LinearOpBase< Scalar > > Thyra::LinearOpScalarProd< Scalar >::getLinearOpImpl ( ) const
protectedvirtual

Reimplemented from Thyra::ScalarProdBase< Scalar >.

Definition at line 119 of file Thyra_LinearOpScalarProd_def.hpp.


The documentation for this class was generated from the following files: