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 |
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 58 of file PlayaGhostView.hpp.
| virtual Playa::GhostView< Scalar >::~GhostView | ( | ) | [inline, virtual] |
Virtual dtor
Definition at line 62 of file PlayaGhostView.hpp.
| virtual const double& Playa::GhostView< Scalar >::getElement | ( | int | globalIndex | ) | const [pure virtual] |
Implemented in Playa::EpetraGhostView, and Playa::SerialGhostView.
| virtual void Playa::GhostView< Scalar >::getElements | ( | const int * | globalIndices, |
| int | numElems, | ||
| Teuchos::Array< double > & | elems | ||
| ) | const [pure virtual] |
Implemented in Playa::SerialGhostView, and Playa::EpetraGhostView.
| 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.
| virtual void Playa::GhostView< Scalar >::print | ( | std::ostream & | os | ) | const [pure virtual] |
Implements Playa::Printable.
Implemented in Playa::EpetraGhostView, and Playa::SerialGhostView.