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 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 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 62 of file Thyra_TpetraMultiVector_decl.hpp.
Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::TpetraMultiVector | ( | ) |
Construct to uninitialized.
Definition at line 58 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 63 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 74 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 86 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 94 of file Thyra_TpetraMultiVector_def.hpp.
RCP< const ScalarProdVectorSpaceBase< Scalar > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domainScalarProdVecSpc | ( | ) | const |
Definition at line 105 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 116 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 124 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protectedvirtual |
Definition at line 148 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 155 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protectedvirtual |
Definition at line 182 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 266 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protectedvirtual |
Definition at line 292 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 301 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 310 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 320 of file Thyra_TpetraMultiVector_def.hpp.
References TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE.
|
protected |
Definition at line 334 of file Thyra_TpetraMultiVector_def.hpp.
References TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE.
|
protected |
Definition at line 348 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 378 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 408 of file Thyra_TpetraMultiVector_def.hpp.
References Teuchos::ArrayView< T >::size().
|
protected |
Definition at line 441 of file Thyra_TpetraMultiVector_def.hpp.
References Teuchos::ArrayView< T >::size().
|
protectedvirtual |
Definition at line 474 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull().
|
protected |
Definition at line 519 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 542 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 564 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 627 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 634 of file Thyra_TpetraMultiVector_def.hpp.
|
protected |
Definition at line 644 of file Thyra_TpetraMultiVector_def.hpp.
|
protectedvirtual |
Definition at line 654 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 718 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull(), and TEUCHOS_ASSERT.
|
private |
Definition at line 741 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull(), and Teuchos::null.
|
private |
Definition at line 763 of file Thyra_TpetraMultiVector_def.hpp.
References nonnull(), and Teuchos::null.
|
related |
Nonmember constructor for TpetraMultiVector.
Definition at line 272 of file Thyra_TpetraMultiVector_decl.hpp.
References Teuchos::rcp().
|
related |
Nonmember constructor for TpetraMultiVector.
Definition at line 291 of file Thyra_TpetraMultiVector_decl.hpp.
References Teuchos::rcp().
|
private |
Definition at line 240 of file Thyra_TpetraMultiVector_decl.hpp.
|
private |
Definition at line 241 of file Thyra_TpetraMultiVector_decl.hpp.
|
private |
Definition at line 243 of file Thyra_TpetraMultiVector_decl.hpp.