Thyra Package Browser (Single Doxygen Collection)
Version of the Day
|
Concrete implementation of an SPMD vector space for Tpetra. More...
#include <Thyra_TpetraVectorSpace_decl.hpp>
Inherits SpmdVectorSpaceDefaultBase< Scalar >.
Public Types | |
typedef TpetraVectorSpace < Scalar, LocalOrdinal, GlobalOrdinal, Node > | this_t |
Private Member Functions | |
TpetraVectorSpace () | |
Private Attributes | |
RCP< const Tpetra::Map < LocalOrdinal, GlobalOrdinal, Node > > | tpetraMap_ |
RCP< const Teuchos::Comm < Ordinal > > | comm_ |
RCP< this_t > | weakSelfPtr_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node > | |
RCP< TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | tpetraVectorSpace (const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &tpetraMap) |
Nonmember consturctor that creats a serial vector space. More... | |
Constructors and initializers | |
static RCP< TpetraVectorSpace < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | create () |
Create with weak ownership to self. More... | |
void | initialize (const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &tpetraMap) |
Initialize a serial space. More... | |
Public overridden from VectorSpaceBase | |
bool | hasInCoreView (const Range1D &rng, const EViewType viewType, const EStrideType strideType) const |
Returns true if all the elements in rng are in this process. More... | |
RCP< const VectorSpaceBase < Scalar > > | clone () const |
RCP< const Tpetra::Map < LocalOrdinal, GlobalOrdinal, Node > > | getTpetraMap () const |
Get the embedded Tpetra::Map. More... | |
Protected overridden from VectorSpaceBase | |
RCP< VectorBase< Scalar > > | createMember () const |
RCP< MultiVectorBase< Scalar > > | createMembers (int numMembers) const |
Public overridden from SpmdVectorSpaceDefaultBase | |
RCP< const Teuchos::Comm < Ordinal > > | getComm () const |
Ordinal | localSubDim () const |
Concrete implementation of an SPMD vector space for Tpetra.
Definition at line 59 of file Thyra_TpetraVectorSpace_decl.hpp.
typedef TpetraVectorSpace<Scalar,LocalOrdinal,GlobalOrdinal,Node> Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::this_t |
Definition at line 64 of file Thyra_TpetraVectorSpace_decl.hpp.
|
private |
Definition at line 168 of file Thyra_TpetraVectorSpace_def.hpp.
|
static |
Create with weak ownership to self.
Definition at line 59 of file Thyra_TpetraVectorSpace_def.hpp.
References Teuchos::RCP< T >::create_weak().
Referenced by Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraVectorSpace().
void Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initialize | ( | const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > & | tpetraMap | ) |
Initialize a serial space.
Definition at line 68 of file Thyra_TpetraVectorSpace_def.hpp.
References Thyra::convertTpetraToThyraComm().
bool Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::hasInCoreView | ( | const Range1D & | rng, |
const EViewType | viewType, | ||
const EStrideType | strideType | ||
) | const |
Returns true if all the elements in rng
are in this process.
Definition at line 118 of file Thyra_TpetraVectorSpace_def.hpp.
RCP< const VectorSpaceBase< Scalar > > Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::clone | ( | ) | const |
Definition at line 134 of file Thyra_TpetraVectorSpace_def.hpp.
RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getTpetraMap | ( | ) | const |
Get the embedded Tpetra::Map.
Definition at line 141 of file Thyra_TpetraVectorSpace_def.hpp.
|
protected |
Definition at line 85 of file Thyra_TpetraVectorSpace_def.hpp.
References Teuchos::rcp().
|
protected |
Definition at line 98 of file Thyra_TpetraVectorSpace_def.hpp.
References Teuchos::rcp().
RCP< const Teuchos::Comm< Ordinal > > Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getComm | ( | ) | const |
Definition at line 151 of file Thyra_TpetraVectorSpace_def.hpp.
Ordinal Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::localSubDim | ( | ) | const |
Definition at line 158 of file Thyra_TpetraVectorSpace_def.hpp.
|
related |
Nonmember consturctor that creats a serial vector space.
Definition at line 151 of file Thyra_TpetraVectorSpace_decl.hpp.
References Thyra::TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node >::create().
|
private |
Definition at line 127 of file Thyra_TpetraVectorSpace_decl.hpp.
|
private |
Definition at line 134 of file Thyra_TpetraVectorSpace_decl.hpp.
|
private |
Definition at line 135 of file Thyra_TpetraVectorSpace_decl.hpp.