42 #ifndef THYRA_TPETRA_EUCLIDEAN_SCALAR_PROD_DECL_HPP
43 #define THYRA_TPETRA_EUCLIDEAN_SCALAR_PROD_DECL_HPP
46 #include "Thyra_EuclideanScalarProd.hpp"
47 #include "Tpetra_MultiVector.hpp"
57 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
69 const MultiVectorBase<Scalar>& X,
70 const MultiVectorBase<Scalar>& Y,
89 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
101 #endif // THYRA_TPETRA_EUCLIDEAN_SCALAR_PROD_DECL_HPP
RCP< const TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node > > tpetraEuclideanScalarProd()
Nonmember constructor for TpetraEuclideanScalarProd.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
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 call...
Teuchos::RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > getConstTpetraMultiVector(const RCP< const MultiVectorBase< Scalar > > &mv) const
Extends concrete implementation of a Euclidean scalar product for specifically Tpetra vectors/multive...