Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Related Functions | List of all members
Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Extends concrete implementation of a Euclidean scalar product for specifically Tpetra vectors/multivectors. More...

#include <Thyra_TpetraEuclideanScalarProd_decl.hpp>

Inheritance diagram for Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >:
Inheritance graph
[legend]

Related Functions

(Note that these are not member functions.)

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const
TpetraEuclideanScalarProd
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
tpetraEuclideanScalarProd ()
 Nonmember constructor for TpetraEuclideanScalarProd. More...
 

Overridden from EuclideanScalarProd

virtual void scalarProdsImpl (const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds) const
 If X and Y are both Tpetra wrappers, computes the pair-wise scalar products directly with Tpetra calls. Otherwise, this defers to the base class implementaiton, which computes the result with an RTOp. More...
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Extends concrete implementation of a Euclidean scalar product for specifically Tpetra vectors/multivectors.

Definition at line 26 of file Thyra_TpetraEuclideanScalarProd_decl.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >::scalarProdsImpl ( const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y,
const ArrayView< Scalar > &  scalarProds 
) const
protectedvirtual

If X and Y are both Tpetra wrappers, computes the pair-wise scalar products directly with Tpetra calls. Otherwise, this defers to the base class implementaiton, which computes the result with an RTOp.

Reimplemented from Thyra::EuclideanScalarProd< Scalar >.

Definition at line 22 of file Thyra_TpetraEuclideanScalarProd_def.hpp.

Friends And Related Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node > > tpetraEuclideanScalarProd ( )
related

Nonmember constructor for TpetraEuclideanScalarProd.

Definition at line 60 of file Thyra_TpetraEuclideanScalarProd_decl.hpp.


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