Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Thyra::ConstDetachedSpmdVectorView< Scalar > Class Template Reference

Create an explicit detached non-mutable (const) view of all of the local elements on this process of an VectorBase object. More...

#include <Thyra_DetachedSpmdVectorView.hpp>

Public Member Functions

 ConstDetachedSpmdVectorView (const Teuchos::RCP< const VectorBase< Scalar > > &v)
 
 ~ConstDetachedSpmdVectorView ()
 
const RCP< const
SpmdVectorSpaceBase< Scalar > > 
spmdSpace () const
 
const
RTOpPack::ConstSubVectorView
< Scalar > & 
sv () const
 
Teuchos_Ordinal globalOffset () const
 
Teuchos_Ordinal subDim () const
 
const ArrayRCP< const Scalar > values () const
 
ptrdiff_t stride () const
 
const Scalar & operator[] (Teuchos_Ordinal i) const
 
const Scalar & operator() (Teuchos_Ordinal i) const
 

Detailed Description

template<class Scalar>
class Thyra::ConstDetachedSpmdVectorView< Scalar >

Create an explicit detached non-mutable (const) view of all of the local elements on this process of an VectorBase object.

The default constructor, copy constructor and assignment operators are not allowed.

Definition at line 62 of file Thyra_DetachedSpmdVectorView.hpp.

Constructor & Destructor Documentation

template<class Scalar>
Thyra::ConstDetachedSpmdVectorView< Scalar >::ConstDetachedSpmdVectorView ( const Teuchos::RCP< const VectorBase< Scalar > > &  v)
inline

Definition at line 65 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
Thyra::ConstDetachedSpmdVectorView< Scalar >::~ConstDetachedSpmdVectorView ( )
inline

Definition at line 80 of file Thyra_DetachedSpmdVectorView.hpp.

Member Function Documentation

template<class Scalar>
const RCP<const SpmdVectorSpaceBase<Scalar> > Thyra::ConstDetachedSpmdVectorView< Scalar >::spmdSpace ( ) const
inline

Definition at line 83 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
const RTOpPack::ConstSubVectorView<Scalar>& Thyra::ConstDetachedSpmdVectorView< Scalar >::sv ( ) const
inline

Definition at line 86 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
Teuchos_Ordinal Thyra::ConstDetachedSpmdVectorView< Scalar >::globalOffset ( ) const
inline

Definition at line 88 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
Teuchos_Ordinal Thyra::ConstDetachedSpmdVectorView< Scalar >::subDim ( ) const
inline

Definition at line 90 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
const ArrayRCP<const Scalar> Thyra::ConstDetachedSpmdVectorView< Scalar >::values ( ) const
inline

Definition at line 92 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
ptrdiff_t Thyra::ConstDetachedSpmdVectorView< Scalar >::stride ( ) const
inline

Definition at line 94 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
const Scalar& Thyra::ConstDetachedSpmdVectorView< Scalar >::operator[] ( Teuchos_Ordinal  i) const
inline

Definition at line 96 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
const Scalar& Thyra::ConstDetachedSpmdVectorView< Scalar >::operator() ( Teuchos_Ordinal  i) const
inline

Definition at line 98 of file Thyra_DetachedSpmdVectorView.hpp.


The documentation for this class was generated from the following file: