Thyra::ConstDetachedSpmdVectorView< Scalar > Class Template Reference
[Thyra Operator/Vector Subclasses for SPMD Distributed-Memory Platforms]

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
 

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]

Definition at line 52 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 67 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 70 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 73 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
Teuchos_Index Thyra::ConstDetachedSpmdVectorView< Scalar >::globalOffset (  )  const [inline]

Definition at line 75 of file Thyra_DetachedSpmdVectorView.hpp.

template<class Scalar>
Teuchos_Index Thyra::ConstDetachedSpmdVectorView< Scalar >::subDim (  )  const [inline]

Definition at line 77 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 79 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 81 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 83 of file Thyra_DetachedSpmdVectorView.hpp.

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

Definition at line 85 of file Thyra_DetachedSpmdVectorView.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:00:49 2011 for Thyra by  doxygen 1.6.3