Thyra Version of the Day
Loading...
Searching...
No Matches

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

Constructor & Destructor Documentation

◆ ConstDetachedSpmdVectorView()

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

Definition at line 33 of file Thyra_DetachedSpmdVectorView.hpp.

◆ ~ConstDetachedSpmdVectorView()

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

Definition at line 48 of file Thyra_DetachedSpmdVectorView.hpp.

Member Function Documentation

◆ spmdSpace()

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

Definition at line 51 of file Thyra_DetachedSpmdVectorView.hpp.

◆ sv()

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

Definition at line 54 of file Thyra_DetachedSpmdVectorView.hpp.

◆ globalOffset()

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

Definition at line 56 of file Thyra_DetachedSpmdVectorView.hpp.

◆ subDim()

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

Definition at line 58 of file Thyra_DetachedSpmdVectorView.hpp.

◆ values()

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

Definition at line 60 of file Thyra_DetachedSpmdVectorView.hpp.

◆ stride()

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

Definition at line 62 of file Thyra_DetachedSpmdVectorView.hpp.

◆ operator[]()

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

Definition at line 64 of file Thyra_DetachedSpmdVectorView.hpp.

◆ operator()()

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

Definition at line 66 of file Thyra_DetachedSpmdVectorView.hpp.


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