Thyra
Version of the Day
|
These non-member helper functions provide the standard way by which clients can get access to local data in VectorBase and MultiVector base objects for the standard SPMD objects. They are the primary interoperability mechanism for clients to get at local SPMD VectorBase and MultiVectorBase data. More...
Functions | |
template<class Scalar > | |
RTOpPack::SubVectorView< Scalar > | Thyra::getNonconstLocalSubVectorView (const RCP< VectorBase< Scalar > > &vec) |
Return a contiguous non-const semi-persisting view of the local process data of a VectorBase object. More... | |
template<class Scalar > | |
RTOpPack::ConstSubVectorView < Scalar > | Thyra::getLocalSubVectorView (const RCP< const VectorBase< Scalar > > &vec) |
Return a contiguous const semi-persisting view of the local process data of a VectorBase object. More... | |
template<class Scalar > | |
RTOpPack::SubMultiVectorView < Scalar > | Thyra::getNonconstLocalSubMultiVectorView (const RCP< MultiVectorBase< Scalar > > &multivec) |
Return a contiguous non-const semi-persisting view of the local process data of a MultiVectorBase object. More... | |
template<class Scalar > | |
RTOpPack::ConstSubMultiVectorView < Scalar > | Thyra::getLocalSubMultiVectorView (const RCP< const MultiVectorBase< Scalar > > &multivec) |
Return a contiguous const semi-persisting view of the local process data of a MultiVectorBase object. More... | |
These non-member helper functions provide the standard way by which clients can get access to local data in VectorBase and MultiVector base objects for the standard SPMD objects. They are the primary interoperability mechanism for clients to get at local SPMD VectorBase and MultiVectorBase data.
All of these views follow the constraints of the Generalized View Design Pattern defined here. That means a few things:
Unlimited const views are allowed but only a single non-const view is allowed.
Once a single non-const view is created, no other const or non-const views are allowed.
If any view is active, a non-const view can not be created.
Changes to an object through a non-const view are not guaranteed to be reflected in the parent object until the view is released.
ToDo: Finish Documentation!
RTOpPack::SubVectorView< Scalar > Thyra::getNonconstLocalSubVectorView | ( | const RCP< VectorBase< Scalar > > & | vec | ) |
Return a contiguous non-const semi-persisting view of the local process data of a VectorBase object.
Definition at line 23 of file Thyra_SpmdLocalDataAccess_def.hpp.
RTOpPack::ConstSubVectorView< Scalar > Thyra::getLocalSubVectorView | ( | const RCP< const VectorBase< Scalar > > & | vec | ) |
Return a contiguous const semi-persisting view of the local process data of a VectorBase object.
Definition at line 45 of file Thyra_SpmdLocalDataAccess_def.hpp.
RTOpPack::SubMultiVectorView< Scalar > Thyra::getNonconstLocalSubMultiVectorView | ( | const RCP< MultiVectorBase< Scalar > > & | multivec | ) |
Return a contiguous non-const semi-persisting view of the local process data of a MultiVectorBase object.
Definition at line 67 of file Thyra_SpmdLocalDataAccess_def.hpp.
RTOpPack::ConstSubMultiVectorView< Scalar > Thyra::getLocalSubMultiVectorView | ( | const RCP< const MultiVectorBase< Scalar > > & | multivec | ) |
Return a contiguous const semi-persisting view of the local process data of a MultiVectorBase object.
Definition at line 89 of file Thyra_SpmdLocalDataAccess_def.hpp.