Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_SpmdLocalDataAccess_decl.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Thyra: Interfaces and Support for Abstract Numerical Algorithms
4 //
5 // Copyright 2004 NTESS and the Thyra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef THYRA_SPMD_LOCAL_DATA_ACCESS_DECL_HPP
11 #define THYRA_SPMD_LOCAL_DATA_ACCESS_DECL_HPP
12 
13 
14 #include "Thyra_OperatorVectorTypes.hpp"
15 
16 
17 namespace Thyra {
18 
19 
58 template<class Scalar>
61  const RCP<VectorBase<Scalar> > &vec);
62 
63 
69 template<class Scalar>
72  const RCP<const VectorBase<Scalar> > &vec);
73 
74 
80 template<class Scalar>
83  const RCP<MultiVectorBase<Scalar> > &multivec);
84 
85 
91 template<class Scalar>
94  const RCP<const MultiVectorBase<Scalar> > &multivec);
95 
96 
97 } // end namespace Thyra
98 
99 
100 #endif // THYRA_SPMD_LOCAL_DATA_ACCESS_DECL_HPP
RTOpPack::ConstSubVectorView< Scalar > getLocalSubVectorView(const RCP< const VectorBase< Scalar > > &vec)
Return a contiguous const semi-persisting view of the local process data of a VectorBase object...
RTOpPack::SubMultiVectorView< Scalar > getNonconstLocalSubMultiVectorView(const RCP< MultiVectorBase< Scalar > > &multivec)
Return a contiguous non-const semi-persisting view of the local process data of a MultiVectorBase obj...
RTOpPack::ConstSubMultiVectorView< Scalar > getLocalSubMultiVectorView(const RCP< const MultiVectorBase< Scalar > > &multivec)
Return a contiguous const semi-persisting view of the local process data of a MultiVectorBase object...
RTOpPack::SubVectorView< Scalar > getNonconstLocalSubVectorView(const RCP< VectorBase< Scalar > > &vec)
Return a contiguous non-const semi-persisting view of the local process data of a VectorBase object...