Concrete Thyra::SpmdVectorBase using Tpetra::Vector.
More...
#include <Thyra_TpetraVector_decl.hpp>
Inherits SpmdVectorDefaultBase< Scalar >.
|
| template<class TpetraVector_t > |
| void | initializeImpl (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< TpetraVector_t > &tpetraVector) |
| |
| RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraMultiVector (const RCP< MultiVectorBase< Scalar > > &mv) const |
| |
| RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraMultiVector (const RCP< const MultiVectorBase< Scalar > > &mv) const |
| |
| RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraVector (const RCP< VectorBase< Scalar > > &v) const |
| |
| RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraVector (const RCP< const VectorBase< Scalar > > &v) const |
| |
|
(Note that these are not member functions.)
|
| template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node > |
| RCP< TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | tpetraVector (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector) |
| | Nonmember constructor for TpetraVector. More...
|
| |
| template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node > |
| RCP< const TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | constTpetraVector (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector) |
| | Nonmember constructor for TpetraVector. More...
|
| |
|
| | TpetraVector () |
| | Construct to uninitialized. More...
|
| |
| void | initialize (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector) |
| | Initialize. More...
|
| |
| void | constInitialize (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector) |
| | Initialize. More...
|
| |
| RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraVector () |
| | Get the embedded non-const Tpetra::Vector. More...
|
| |
| RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraVector () const |
| | Get the embedded non-const Tpetra::Vector. More...
|
| |
|
| RCP< const VectorSpaceBase< Scalar > > | domain () const |
| |
|
| RCP< const SpmdVectorSpaceBase< Scalar > > | spmdSpaceImpl () const |
| |
|
| virtual void | randomizeImpl (Scalar l, Scalar u) |
| |
| virtual void | absImpl (const VectorBase< Scalar > &x) |
| |
| virtual void | reciprocalImpl (const VectorBase< Scalar > &x) |
| |
| virtual void | eleWiseScaleImpl (const VectorBase< Scalar > &x) |
| |
| virtual Teuchos::ScalarTraits< Scalar >::magnitudeType | norm2WeightedImpl (const VectorBase< Scalar > &x) const |
| |
| virtual void | applyOpImpl (const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal global_offset) const |
| |
| void | acquireDetachedVectorViewImpl (const Range1D &rng, RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const |
| |
| void | acquireNonconstDetachedVectorViewImpl (const Range1D &rng, RTOpPack::SubVectorView< Scalar > *sub_vec) |
| |
| void | commitNonconstDetachedVectorViewImpl (RTOpPack::SubVectorView< Scalar > *sub_vec) |
| |
|
| virtual void | assignImpl (Scalar alpha) |
| |
| virtual void | assignMultiVecImpl (const MultiVectorBase< Scalar > &mv) |
| |
| virtual void | scaleImpl (Scalar alpha) |
| |
| virtual void | updateImpl (Scalar alpha, const MultiVectorBase< Scalar > &mv) |
| |
| virtual void | linearCombinationImpl (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &mv, const Scalar &beta) |
| |
| virtual void | dotsImpl (const MultiVectorBase< Scalar > &mv, const ArrayView< Scalar > &prods) const |
| |
| virtual void | norms1Impl (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const |
| |
| virtual void | norms2Impl (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const |
| |
| virtual void | normsInfImpl (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const |
| |
|
| void | applyImpl (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const |
| |
template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >
Concrete Thyra::SpmdVectorBase using Tpetra::Vector.
Definition at line 60 of file Thyra_TpetraVector_decl.hpp.
◆ TpetraMultiVector_t
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ TpetraVector()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ initialize()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize |
( |
const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVectorSpace, |
|
|
const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVector |
|
) |
| |
◆ constInitialize()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::constInitialize |
( |
const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVectorSpace, |
|
|
const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVector |
|
) |
| |
◆ getTpetraVector() [1/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraVector |
( |
| ) |
|
◆ getConstTpetraVector() [1/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraVector |
( |
| ) |
const |
◆ domain()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< const VectorSpaceBase< Scalar > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domain |
( |
| ) |
const |
◆ spmdSpaceImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< const SpmdVectorSpaceBase< Scalar > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::spmdSpaceImpl |
( |
| ) |
const |
◆ getNonconstLocalVectorDataImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNonconstLocalVectorDataImpl |
( |
const Ptr< ArrayRCP< Scalar > > & |
localValues | ) |
|
◆ getLocalVectorDataImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getLocalVectorDataImpl |
( |
const Ptr< ArrayRCP< const Scalar > > & |
localValues | ) |
const |
◆ randomizeImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::randomizeImpl |
( |
Scalar |
l, |
|
|
Scalar |
u |
|
) |
| |
|
protectedvirtual |
◆ absImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::absImpl |
( |
const VectorBase< Scalar > & |
x | ) |
|
|
protectedvirtual |
◆ reciprocalImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::reciprocalImpl |
( |
const VectorBase< Scalar > & |
x | ) |
|
|
protectedvirtual |
◆ eleWiseScaleImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::eleWiseScaleImpl |
( |
const VectorBase< Scalar > & |
x | ) |
|
|
protectedvirtual |
◆ norm2WeightedImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| Teuchos::ScalarTraits< Scalar >::magnitudeType Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::norm2WeightedImpl |
( |
const VectorBase< Scalar > & |
x | ) |
const |
|
protectedvirtual |
◆ applyOpImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::applyOpImpl |
( |
const RTOpPack::RTOpT< Scalar > & |
op, |
|
|
const ArrayView< const Ptr< const VectorBase< Scalar > > > & |
vecs, |
|
|
const ArrayView< const Ptr< VectorBase< Scalar > > > & |
targ_vecs, |
|
|
const Ptr< RTOpPack::ReductTarget > & |
reduct_obj, |
|
|
const Ordinal |
global_offset |
|
) |
| const |
|
protectedvirtual |
◆ acquireDetachedVectorViewImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::acquireDetachedVectorViewImpl |
( |
const Range1D & |
rng, |
|
|
RTOpPack::ConstSubVectorView< Scalar > * |
sub_vec |
|
) |
| const |
|
protected |
◆ acquireNonconstDetachedVectorViewImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::acquireNonconstDetachedVectorViewImpl |
( |
const Range1D & |
rng, |
|
|
RTOpPack::SubVectorView< Scalar > * |
sub_vec |
|
) |
| |
|
protected |
◆ commitNonconstDetachedVectorViewImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::commitNonconstDetachedVectorViewImpl |
( |
RTOpPack::SubVectorView< Scalar > * |
sub_vec | ) |
|
|
protected |
◆ assignImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::assignImpl |
( |
Scalar |
alpha | ) |
|
|
protectedvirtual |
◆ assignMultiVecImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::assignMultiVecImpl |
( |
const MultiVectorBase< Scalar > & |
mv | ) |
|
|
protectedvirtual |
◆ scaleImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::scaleImpl |
( |
Scalar |
alpha | ) |
|
|
protectedvirtual |
◆ updateImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::updateImpl |
( |
Scalar |
alpha, |
|
|
const MultiVectorBase< Scalar > & |
mv |
|
) |
| |
|
protectedvirtual |
◆ linearCombinationImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::linearCombinationImpl |
( |
const ArrayView< const Scalar > & |
alpha, |
|
|
const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > & |
mv, |
|
|
const Scalar & |
beta |
|
) |
| |
|
protectedvirtual |
◆ dotsImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::dotsImpl |
( |
const MultiVectorBase< Scalar > & |
mv, |
|
|
const ArrayView< Scalar > & |
prods |
|
) |
| const |
|
protectedvirtual |
◆ norms1Impl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::norms1Impl |
( |
const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > & |
norms | ) |
const |
|
protectedvirtual |
◆ norms2Impl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::norms2Impl |
( |
const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > & |
norms | ) |
const |
|
protectedvirtual |
◆ normsInfImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::normsInfImpl |
( |
const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > & |
norms | ) |
const |
|
protectedvirtual |
◆ applyImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::applyImpl |
( |
const EOpTransp |
M_trans, |
|
|
const MultiVectorBase< Scalar > & |
X, |
|
|
const Ptr< MultiVectorBase< Scalar > > & |
Y, |
|
|
const Scalar |
alpha, |
|
|
const Scalar |
beta |
|
) |
| const |
|
protected |
◆ initializeImpl()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class TpetraVector_t >
| void Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initializeImpl |
( |
const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVectorSpace, |
|
|
const RCP< TpetraVector_t > & |
tpetraVector |
|
) |
| |
|
private |
◆ getTpetraMultiVector()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraMultiVector |
( |
const RCP< MultiVectorBase< Scalar > > & |
mv | ) |
const |
|
private |
Definition at line 596 of file Thyra_TpetraVector_def.hpp.
References Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraMultiVector().
Referenced by Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraMultiVector(), and Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraMultiVector().
◆ getConstTpetraMultiVector()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector |
( |
const RCP< const MultiVectorBase< Scalar > > & |
mv | ) |
const |
|
private |
Definition at line 619 of file Thyra_TpetraVector_def.hpp.
References Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector().
Referenced by Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector(), Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector(), and Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector().
◆ getTpetraVector() [2/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraVector |
( |
const RCP< VectorBase< Scalar > > & |
v | ) |
const |
|
private |
◆ getConstTpetraVector() [2/2]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraVector |
( |
const RCP< const VectorBase< Scalar > > & |
v | ) |
const |
|
private |
◆ tpetraVector()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > tpetraVector |
( |
const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVectorSpace, |
|
|
const RCP< Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVector |
|
) |
| |
|
related |
◆ constTpetraVector()
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| RCP< const TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > constTpetraVector |
( |
const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVectorSpace, |
|
|
const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & |
tpetraVector |
|
) |
| |
|
related |
◆ tpetraVectorSpace_
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ domainSpace_
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
◆ tpetraVector_
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
| Teuchos::ConstNonconstObjectContainer<Tpetra::Vector<Scalar, LocalOrdinal,GlobalOrdinal,Node> > Thyra::TpetraVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraVector_ |
|
private |
The documentation for this class was generated from the following files: