|
Thyra
Version of the Day
|
Concrete implementation of an SPMD vector space for Tpetra. More...
#include <Thyra_TpetraVectorSpace_decl.hpp>

Public Types | |
| typedef TpetraVectorSpace< Scalar, LocalOrdinal, GlobalOrdinal, Node > | this_t |
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... | |
Related Functions inherited from Thyra::ScalarProdVectorSpaceBase< Scalar > | |
| template<class Scalar > | |
| RCP< const ScalarProdVectorSpaceBase< Scalar > > | createSmallScalarProdVectorSpaceBase (const RCP< const VectorSpaceBase< Scalar > > &vs, const Ordinal dim) |
| Create a small vector space casted to ScalarProdVectorSpaceBase. 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 |
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 |
Additional Inherited Members | |
Public Member Functions inherited from Thyra::SpmdVectorSpaceDefaultBase< Scalar > | |
| SpmdVectorSpaceDefaultBase () | |
| Ordinal | localOffset () const |
| Ordinal | mapCode () const |
| bool | isLocallyReplicated () const |
| Returns true if vector space is locally replicated space. More... | |
| std::string | description () const |
| Ordinal | dim () const |
| Returns the sum of the local number of elements on every process. More... | |
| Teuchos::RCP< const VectorSpaceFactoryBase< Scalar > > | smallVecSpcFcty () const |
Returns a DefaultSpmdVectorSpaceFactory object that has been given getComm(). More... | |
| bool | isCompatible (const VectorSpaceBase< Scalar > &vecSpc) const |
| Checks the general compatibility of parallel (or serial on one process) Spmd-based vector spaces. More... | |
Public Member Functions inherited from Thyra::SpmdVectorSpaceBase< Scalar > | |
Public Member Functions inherited from Thyra::ScalarProdVectorSpaceBase< Scalar > | |
| ScalarProdVectorSpaceBase () | |
| Construct to use dot product as the default. More... | |
| ScalarProdVectorSpaceBase (const RCP< const ScalarProdBase< Scalar > > &scalarProd) | |
| Construct with a different scalar product. More... | |
| virtual void | setScalarProd (const RCP< const ScalarProdBase< Scalar > > &scalarProd) |
| Set a different scalar product. More... | |
| RCP< const ScalarProdBase< Scalar > > | getScalarProd () const |
| Return the current scalar product. More... | |
| bool | isEuclidean () const |
Returns getScalarProd()->isEuclidean() More... | |
| Scalar | scalarProd (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const |
Returns getScalarProd()->scalarProd(x,y) More... | |
| void | scalarProdsImpl (const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const |
Calls getScalarProd()->scalarProds(X,Y,scalar_prods) More... | |
Protected Member Functions inherited from Thyra::SpmdVectorSpaceDefaultBase< Scalar > | |
| virtual void | updateState (const Ordinal globalDim, const bool isLocallyReplicated=false) |
This function must be called whenever the state of this changes and some internal state must be updated. More... | |
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.
|
static |
Create with weak ownership to self.
Definition at line 59 of file Thyra_TpetraVectorSpace_def.hpp.
| 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.
| 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 |
Definition at line 134 of file Thyra_TpetraVectorSpace_def.hpp.
|
protected |
Definition at line 85 of file Thyra_TpetraVectorSpace_def.hpp.
|
protected |
Definition at line 98 of file Thyra_TpetraVectorSpace_def.hpp.
|
virtual |
Implements Thyra::SpmdVectorSpaceBase< Scalar >.
Definition at line 145 of file Thyra_TpetraVectorSpace_def.hpp.
|
virtual |
Implements Thyra::SpmdVectorSpaceBase< Scalar >.
Definition at line 152 of file Thyra_TpetraVectorSpace_def.hpp.
|
related |
Nonmember consturctor that creats a serial vector space.
Definition at line 146 of file Thyra_TpetraVectorSpace_decl.hpp.