Thyra Package Browser (Single Doxygen Collection) Version of the Day
Private Member Functions | Private Attributes | Related Functions
Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Concrete implementation of Thyra::MultiVector in terms of Tpetra::MultiVector. More...

#include <Thyra_TpetraMultiVector_decl.hpp>

List of all members.

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)

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

Constructors/initializers/accessors

 TpetraMultiVector ()
 Construct to uninitialized.
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.
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.
RCP< Tpetra::MultiVector
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
getTpetraMultiVector ()
 Extract the underlying non-const Tpetra::MultiVector object.
RCP< const Tpetra::MultiVector
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
getConstTpetraMultiVector () const
 Extract the underlying const Tpetra::MultiVector object.

Overridden public functions form MultiVectorAdapterBase

RCP< const
ScalarProdVectorSpaceBase
< Scalar > > 
domainScalarProdVecSpc () const
 

Overridden public functions from SpmdMultiVectorBase

RCP< const SpmdVectorSpaceBase
< Scalar > > 
spmdSpace () const
 

Overridden protected functions from MultiVectorBase

RCP< const VectorBase< Scalar > > colImpl (Ordinal j) const
 
RCP< VectorBase< Scalar > > nonconstColImpl (Ordinal j)
 

Overridden protected functions from SpmdMultiVectorBase

.

. .

void getNonconstLocalDataImpl (const Ptr< ArrayRCP< Scalar > > &localValues, const Ptr< Ordinal > &leadingDim)
 
void getLocalDataImpl (const Ptr< ArrayRCP< const Scalar > > &localValues, const Ptr< Ordinal > &leadingDim) const
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Concrete implementation of Thyra::MultiVector in terms of Tpetra::MultiVector.

Todo:
Finish documentation!

Definition at line 61 of file Thyra_TpetraMultiVector_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::TpetraMultiVector ( )

Construct to uninitialized.

Definition at line 58 of file Thyra_TpetraMultiVector_def.hpp.


Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
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.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
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.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
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.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
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.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const ScalarProdVectorSpaceBase< Scalar > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domainScalarProdVecSpc ( ) const

Definition at line 105 of file Thyra_TpetraMultiVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const SpmdVectorSpaceBase< Scalar > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::spmdSpace ( ) const

Definition at line 116 of file Thyra_TpetraMultiVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const VectorBase< Scalar > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::colImpl ( Ordinal  j) const [protected]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< VectorBase< Scalar > > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::nonconstColImpl ( Ordinal  j) [protected]
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNonconstLocalDataImpl ( const Ptr< ArrayRCP< Scalar > > &  localValues,
const Ptr< Ordinal > &  leadingDim 
) [protected]

Definition at line 225 of file Thyra_TpetraMultiVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getLocalDataImpl ( const Ptr< ArrayRCP< const Scalar > > &  localValues,
const Ptr< Ordinal > &  leadingDim 
) const [protected]

Definition at line 235 of file Thyra_TpetraMultiVector_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
template<class TpetraMultiVector_t >
void Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initializeImpl ( const RCP< const TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  tpetraVectorSpace,
const RCP< const ScalarProdVectorSpaceBase< Scalar > > &  domainSpace,
const RCP< TpetraMultiVector_t > &  tpetraMultiVector 
) [private]

Definition at line 249 of file Thyra_TpetraMultiVector_def.hpp.

References nonnull(), and TEUCHOS_ASSERT.


Friends And Related Function Documentation

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 
) [related]

Nonmember constructor for TpetraMultiVector.

Definition at line 169 of file Thyra_TpetraMultiVector_decl.hpp.

References Teuchos::rcp().

Referenced by Thyra::createMultiVector().

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 
) [related]

Nonmember constructor for TpetraMultiVector.

Definition at line 188 of file Thyra_TpetraMultiVector_decl.hpp.

References Teuchos::rcp().

Referenced by Thyra::createConstMultiVector().


Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP<const TpetraVectorSpace<Scalar,LocalOrdinal,GlobalOrdinal,Node> > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraVectorSpace_ [private]

Definition at line 145 of file Thyra_TpetraMultiVector_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP<const ScalarProdVectorSpaceBase<Scalar> > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::domainSpace_ [private]

Definition at line 146 of file Thyra_TpetraMultiVector_decl.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::ConstNonconstObjectContainer<Tpetra::MultiVector<Scalar, LocalOrdinal,GlobalOrdinal,Node> > Thyra::TpetraMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraMultiVector_ [private]

Definition at line 148 of file Thyra_TpetraMultiVector_decl.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines