Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Member Functions | 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>

Inherits EuclideanScalarProd< Scalar >.

Private Member Functions

Teuchos::RCP< const
Tpetra::MultiVector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getConstTpetraMultiVector (const RCP< const MultiVectorBase< Scalar > > &mv) const
 

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 58 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.

Definition at line 54 of file Thyra_TpetraEuclideanScalarProd_def.hpp.

References nonnull().

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector ( const RCP< const MultiVectorBase< Scalar > > &  mv) const
private

/brief .

Definition at line 94 of file Thyra_TpetraEuclideanScalarProd_def.hpp.

References nonnull(), and Teuchos::null.

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 92 of file Thyra_TpetraEuclideanScalarProd_decl.hpp.

References Teuchos::rcp().


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