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::DetachedSpmdVectorView< Scalar > Class Template Reference

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

#include <Thyra_DetachedSpmdVectorView.hpp>

Public Member Functions

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

Detailed Description

template<class Scalar>
class Thyra::DetachedSpmdVectorView< Scalar >

Create an explicit detached mutable (non-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 119 of file Thyra_DetachedSpmdVectorView.hpp.

Constructor & Destructor Documentation

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

Definition at line 122 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 137 of file Thyra_DetachedSpmdVectorView.hpp.

Member Function Documentation

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

Definition at line 140 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
const RTOpPack::SubVectorView<Scalar>& Thyra::DetachedSpmdVectorView< Scalar >::sv ( ) const
inline

Definition at line 143 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 145 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 147 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 149 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 151 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 153 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 155 of file Thyra_DetachedSpmdVectorView.hpp.


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