DefaultSpmdVector and DefaultSpmdMultiVector objects.
More...
#include <Thyra_DefaultSpmdVectorSpaceDecl.hpp>
Inheritance diagram for Thyra::DefaultSpmdVectorSpace< Scalar >:
Constructors and initializers | |
| DefaultSpmdVectorSpace () | |
Construct to uninitialized (see postconditions from uninitialize()). | |
| DefaultSpmdVectorSpace (const Index dim) | |
Calls initialize() to construct a serial space. | |
| DefaultSpmdVectorSpace (const RCP< const Teuchos::Comm< Index > > &comm, const Index localSubDim, const Index globalDim) | |
Calls initialize() to construct an SPMD space. | |
| void | initialize (const Index dim) |
| Initialize a serial space. | |
| void | initialize (const RCP< const Teuchos::Comm< Index > > &comm, const Index localSubDim, const Index globalDim) |
| Initialize an SPMD space. | |
| void | uninitialize () |
| Set to an uninitialized state. | |
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. | |
| RCP< const VectorSpaceBase< Scalar > > | clone () const |
| | |
Public overridden from SpmdVectorSpaceDefaultBase | |
| RCP< const Teuchos::Comm< Index > > | getComm () const |
| | |
| Index | localSubDim () const |
| | |
Protected overridden from VectorSpaceBase | |
| RCP< VectorBase< Scalar > > | createMember () const |
| | |
| RCP< MultiVectorBase< Scalar > > | createMembers (int numMembers) const |
| | |
| RCP< VectorBase< Scalar > > | createMemberView (const RTOpPack::SubVectorView< Scalar > &raw_v) const |
| | |
| RCP< const VectorBase< Scalar > > | createMemberView (const RTOpPack::ConstSubVectorView< Scalar > &raw_v) const |
| | |
| RCP< MultiVectorBase< Scalar > > | createMembersView (const RTOpPack::SubMultiVectorView< Scalar > &raw_mv) const |
| | |
| RCP< const MultiVectorBase< Scalar > > | createMembersView (const RTOpPack::ConstSubMultiVectorView< Scalar > &raw_mv) const |
| | |
Related Functions | |
| (Note that these are not member functions.) | |
| RCP< DefaultSpmdVectorSpace< Scalar > > | defaultSpmdVectorSpace (const Index dim) |
| Nonmember consturctor function. | |
DefaultSpmdVector and DefaultSpmdMultiVector objects.
This is a simple but yet fully general and functional concrete subclass of SpmdVectorSpaceBase that returns DefaultSpmdMultiVector objects from createMembers() and DefaultSpmdVector objects from createMember().
See the function initialize() that describes the different kinds of distributions this class can handle.
test_composite_linear_ops.cpp, test_product_space.cpp, test_scalar_product.cpp, and test_std_ops.cpp.
|
|||||||||
|
Construct to uninitialized (see postconditions from
|
|
||||||||||
|
Calls
|
|
||||||||||||||||||||
|
Calls
|
|
||||||||||
|
Initialize a serial space.
this->initialize(Teuchos::null,dim,dim) |
|
||||||||||||||||||||
|
Initialize an SPMD space.
|
|
|||||||||
|
Set to an uninitialized state. Postconditions:
|
|
||||||||||||||||||||
|
Returns true if all the elements in
Reimplemented from Thyra::VectorSpaceBase< Scalar >. |
|
|||||||||
|
Reimplemented from Thyra::VectorSpaceBase< Scalar >. |
|
|||||||||
|
Implements Thyra::VectorSpaceBase< Scalar >. |
|
||||||||||
|
Implements Thyra::VectorSpaceBase< Scalar >. |
|
||||||||||
|
Implements Thyra::VectorSpaceBase< Scalar >. |
|
||||||||||
|
Implements Thyra::VectorSpaceBase< Scalar >. |
|
||||||||||
|
Implements Thyra::VectorSpaceBase< Scalar >. |
|
||||||||||
|
Implements Thyra::VectorSpaceBase< Scalar >. |
|
|||||||||
|
Implements Thyra::SpmdVectorSpaceBase< Scalar >. |
|
|||||||||
|
Implements Thyra::SpmdVectorSpaceBase< Scalar >. |
|
||||||||||
|
Nonmember consturctor function.
|
1.3.9.1