Thyra Package Browser (Single Doxygen Collection)
Version of the Day
|
Concrete implementation of Thyra::MultiVector in terms of Tpetra::MultiVector. More...
#include <Thyra_TpetraMultiVector_decl.hpp>
Inherits SpmdMultiVectorDefaultBase< Scalar >.
Private Member Functions | |
template<class TpetraMultiVector_t > | |
void | initializeImpl (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const ScalarProdVectorSpaceBase< Scalar > > &domainSpace, const RCP< TpetraMultiVector_t > &tpetraMultiVector) |
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 |
Private Attributes | |
RCP< const TpetraVectorSpace < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | tpetraVectorSpace_ |
RCP< const ScalarProdVectorSpaceBase < Scalar > > | domainSpace_ |
Teuchos::ConstNonconstObjectContainer < Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | tpetraMultiVector_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node > | |
RCP< TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | tpetraMultiVector (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const ScalarProdVectorSpaceBase< Scalar > > &domainSpace, const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector) |
Nonmember constructor for non-const TpetraMultiVector. More... | |
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node > | |
RCP< const TpetraMultiVector < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | constTpetraMultiVector (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const ScalarProdVectorSpaceBase< Scalar > > &domainSpace, const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector) |
Nonmember constructor for const TpetraMultiVector. More... | |
Constructors/initializers/accessors | |
TpetraMultiVector () | |
Construct to uninitialized. More... | |
void | initialize (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const ScalarProdVectorSpaceBase< Scalar > > &domainSpace, const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector) |
Initialize. More... | |
void | constInitialize (const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVectorSpace, const RCP< const ScalarProdVectorSpaceBase< Scalar > > &domainSpace, const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector) |
Initialize. More... | |
RCP< Tpetra::MultiVector < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraMultiVector () |
Extract the underlying non-const Tpetra::MultiVector object. More... | |
RCP< const Tpetra::MultiVector < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraMultiVector () const |
Extract the underlying const Tpetra::MultiVector object. More... | |
Overridden public functions form MultiVectorAdapterBase | |
RCP< const ScalarProdVectorSpaceBase < Scalar > > | domainScalarProdVecSpc () const |
Overridden protected functions from MultiVectorBase | |
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 |
RCP< const VectorBase< Scalar > > | colImpl (Ordinal j) const |
RCP< VectorBase< Scalar > > | nonconstColImpl (Ordinal j) |
RCP< const MultiVectorBase < Scalar > > | contigSubViewImpl (const Range1D &colRng) const |
RCP< MultiVectorBase< Scalar > > | nonconstContigSubViewImpl (const Range1D &colRng) |
RCP< const MultiVectorBase < Scalar > > | nonContigSubViewImpl (const ArrayView< const int > &cols_in) const |
RCP< MultiVectorBase< Scalar > > | nonconstNonContigSubViewImpl (const ArrayView< const int > &cols_in) |
virtual void | mvMultiReductApplyOpImpl (const RTOpPack::RTOpT< Scalar > &primary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const ArrayView< const Ptr< RTOpPack::ReductTarget > > &reduct_objs, const Ordinal primary_global_offset) const |
void | acquireDetachedMultiVectorViewImpl (const Range1D &rowRng, const Range1D &colRng, RTOpPack::ConstSubMultiVectorView< Scalar > *sub_mv) const |
void | acquireNonconstDetachedMultiVectorViewImpl (const Range1D &rowRng, const Range1D &colRng, RTOpPack::SubMultiVectorView< Scalar > *sub_mv) |
void | commitNonconstDetachedMultiVectorViewImpl (RTOpPack::SubMultiVectorView< Scalar > *sub_mv) |
Overridden protected functions from SpmdMultiVectorBase | |
RCP< const SpmdVectorSpaceBase < Scalar > > | spmdSpaceImpl () const |
void | getNonconstLocalMultiVectorDataImpl (const Ptr< ArrayRCP< Scalar > > &localValues, const Ptr< Ordinal > &leadingDim) |
void | getLocalMultiVectorDataImpl (const Ptr< ArrayRCP< const Scalar > > &localValues, const Ptr< Ordinal > &leadingDim) const |
Overridden protected functions from MultiVectorAdapterBase | |
virtual void | euclideanApply (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const |
Concrete implementation of Thyra::MultiVector in terms of Tpetra::MultiVector.
Definition at line 30 of file Thyra_TpetraMultiVector_decl.hpp.
Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::TpetraMultiVector | ( | ) |
Construct to uninitialized.
Definition at line 26 of file Thyra_TpetraMultiVector_def.hpp.
void Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize | ( | const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & | tpetraVectorSpace, |
const RCP< const ScalarProdVectorSpaceBase< Scalar > > & | domainSpace, | ||
const RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & | tpetraMultiVector | ||
) |
Initialize.
Definition at line 31 of file Thyra_TpetraMultiVector_def.hpp.
void Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::constInitialize | ( | const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & | tpetraVectorSpace, |
const RCP< const ScalarProdVectorSpaceBase< Scalar > > & | domainSpace, | ||
const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > & | tpetraMultiVector | ||
) |
Initialize.
Definition at line 42 of file Thyra_TpetraMultiVector_def.hpp.
RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraMultiVector | ( | ) |
Extract the underlying non-const Tpetra::MultiVector object.
Definition at line 54 of file Thyra_TpetraMultiVector_def.hpp.
RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getConstTpetraMultiVector | ( | ) | const |
Extract the underlying const Tpetra::MultiVector object.
Definition at line 62 of file Thyra_TpetraMultiVector_def.hpp.
RCP< const ScalarProdVectorSpaceBase< Scalar > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domainScalarProdVecSpc | ( | ) | const |
Definition at line 73 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 84 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 92 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protectedvirtual |
Definition at line 108 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 115 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protectedvirtual |
Definition at line 134 of file Thyra_TpetraMultiVector_def.hpp.
References Teuchos::ArrayView< T >::begin(), Teuchos::Array< T >::begin(), Teuchos::Copy, nonnull(), Teuchos::null, Teuchos::rcp(), Teuchos::Array< T >::size(), Teuchos::ArrayView< T >::size(), and TEUCHOS_ASSERT_EQUALITY.
|
protectedvirtual |
Definition at line 210 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protectedvirtual |
Definition at line 228 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 237 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 246 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 256 of file Thyra_TpetraMultiVector_def.hpp.
References TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE.
|
protected |
Definition at line 270 of file Thyra_TpetraMultiVector_def.hpp.
References TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE.
|
protected |
Definition at line 284 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 314 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 344 of file Thyra_TpetraMultiVector_def.hpp.
References Teuchos::ArrayView< T >::size().
|
protected |
Definition at line 377 of file Thyra_TpetraMultiVector_def.hpp.
References Teuchos::ArrayView< T >::size().
|
protectedvirtual |
Definition at line 410 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 426 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 439 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 452 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 511 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 518 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 528 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 538 of file Thyra_TpetraMultiVector_def.hpp.
References Teuchos::CONJ_TRANS, CONJTRANS, Teuchos::NO_TRANS, nonnull(), NOTRANS, TEUCHOS_TEST_FOR_EXCEPTION, Teuchos::TRANS, and TRANS.
|
private |
Definition at line 588 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull(), and TEUCHOS_ASSERT.
|
private |
Definition at line 611 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull(), and Teuchos::null.
|
private |
Definition at line 633 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull(), and Teuchos::null.
|
related |
Nonmember constructor for non-const TpetraMultiVector.
Definition at line 240 of file Thyra_TpetraMultiVector_decl.hpp.
References Teuchos::rcp().
|
related |
Nonmember constructor for const TpetraMultiVector.
Definition at line 259 of file Thyra_TpetraMultiVector_decl.hpp.
References Teuchos::rcp().
|
private |
Definition at line 208 of file Thyra_TpetraMultiVector_decl.hpp.
|
private |
Definition at line 209 of file Thyra_TpetraMultiVector_decl.hpp.
|
private |
Definition at line 211 of file Thyra_TpetraMultiVector_decl.hpp.