Thyra Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
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>

List of all members.

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_Index globalOffset () const
 
Teuchos_Index subDim () const
 
const ArrayRCP< const Scalar > values () const
 
ptrdiff_t stride () const
 
const Scalar & operator[] (Teuchos_Index i) const
 
const Scalar & operator() (Teuchos_Index i) const
 

Private Member Functions

 ConstDetachedSpmdVectorView ()
 ConstDetachedSpmdVectorView (const ConstDetachedSpmdVectorView< Scalar > &)
ConstDetachedSpmdVectorView
< Scalar > & 
operator== (const ConstDetachedSpmdVectorView< Scalar > &)

Private Attributes

Teuchos::RCP< const
SpmdVectorBase< Scalar > > 
v_
RTOpPack::ConstSubVectorView
< Scalar > 
sv_

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 49 of file Thyra_DetachedSpmdVectorView.hpp.


Constructor & Destructor Documentation

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

Definition at line 67 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
Thyra::ConstDetachedSpmdVectorView< Scalar >::ConstDetachedSpmdVectorView ( ) [private]
template<class Scalar>
Thyra::ConstDetachedSpmdVectorView< Scalar >::ConstDetachedSpmdVectorView ( const ConstDetachedSpmdVectorView< Scalar > &  ) [private]

Member Function Documentation

template<class Scalar>
const RCP<const SpmdVectorSpaceBase<Scalar> > Thyra::ConstDetachedSpmdVectorView< Scalar >::spmdSpace ( ) const [inline]
template<class Scalar>
const RTOpPack::ConstSubVectorView<Scalar>& Thyra::ConstDetachedSpmdVectorView< Scalar >::sv ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedSpmdVectorView< Scalar >::globalOffset ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedSpmdVectorView< Scalar >::subDim ( ) const [inline]
template<class Scalar>
const ArrayRCP<const Scalar> Thyra::ConstDetachedSpmdVectorView< Scalar >::values ( ) const [inline]
template<class Scalar>
ptrdiff_t Thyra::ConstDetachedSpmdVectorView< Scalar >::stride ( ) const [inline]
template<class Scalar>
const Scalar& Thyra::ConstDetachedSpmdVectorView< Scalar >::operator[] ( Teuchos_Index  i) const [inline]
template<class Scalar>
const Scalar& Thyra::ConstDetachedSpmdVectorView< Scalar >::operator() ( Teuchos_Index  i) const [inline]
template<class Scalar>
ConstDetachedSpmdVectorView<Scalar>& Thyra::ConstDetachedSpmdVectorView< Scalar >::operator== ( const ConstDetachedSpmdVectorView< Scalar > &  ) [private]

Member Data Documentation

template<class Scalar>
Teuchos::RCP<const SpmdVectorBase<Scalar> > Thyra::ConstDetachedSpmdVectorView< Scalar >::v_ [private]
template<class Scalar>
RTOpPack::ConstSubVectorView<Scalar> Thyra::ConstDetachedSpmdVectorView< Scalar >::sv_ [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines