Playa::GhostView< Scalar > Class Template Reference

#include <PlayaGhostView.hpp>

Inheritance diagram for Playa::GhostView< Scalar >:

Playa::Printable

List of all members.

Public Member Functions

virtual ~GhostView ()
virtual bool isAccessible (int globalIndex) const =0
virtual const double & getElement (int globalIndex) const =0
virtual void getElements (const int *globalIndices, int numElems, Teuchos::Array< double > &elems) const =0
virtual void print (std::ostream &os) const =0


Detailed Description

template<class Scalar>
class Playa::GhostView< Scalar >

GhostView is an interface for read-only views of vector elements including selected off-processor elements. GhostView has no standard constructor; subclasses should be constructed using the importView() method of GhostImporter.

Definition at line 21 of file PlayaGhostView.hpp.


Constructor & Destructor Documentation

template<class Scalar>
virtual Playa::GhostView< Scalar >::~GhostView (  )  [inline, virtual]

Virtual dtor

Definition at line 25 of file PlayaGhostView.hpp.


Member Function Documentation

template<class Scalar>
virtual bool Playa::GhostView< Scalar >::isAccessible ( int  globalIndex  )  const [pure virtual]

Indicate whether the value at the given global index is accessible in this view.

Implemented in Playa::EpetraGhostView, and Playa::SerialGhostView.

template<class Scalar>
virtual const double& Playa::GhostView< Scalar >::getElement ( int  globalIndex  )  const [pure virtual]

template<class Scalar>
virtual void Playa::GhostView< Scalar >::getElements ( const int *  globalIndices,
int  numElems,
Teuchos::Array< double > &  elems 
) const [pure virtual]

template<class Scalar>
virtual void Playa::GhostView< Scalar >::print ( std::ostream &  os  )  const [pure virtual]


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

doxygen