#include <PlayaSerialGhostView.hpp>
Public Member Functions | |
SerialGhostView (const RCP< SerialVector > &vec) | |
virtual | ~SerialGhostView () |
bool | isAccessible (int globalIndex) const |
const double & | getElement (int globalIndex) const |
void | getElements (const int *globalIndices, int numElems, Array< double > &elems) const |
void | print (std::ostream &os) const |
Definition at line 23 of file PlayaSerialGhostView.hpp.
Playa::SerialGhostView::SerialGhostView | ( | const RCP< SerialVector > & | vec | ) | [inline] |
Definition at line 27 of file PlayaSerialGhostView.hpp.
virtual Playa::SerialGhostView::~SerialGhostView | ( | ) | [inline, virtual] |
virtual dtor
Definition at line 32 of file PlayaSerialGhostView.hpp.
bool Playa::SerialGhostView::isAccessible | ( | int | globalIndex | ) | const [inline, virtual] |
Indicate whether the given global index is accessible in this view
Implements Playa::GhostView< double >.
Definition at line 35 of file PlayaSerialGhostView.hpp.
const double& Playa::SerialGhostView::getElement | ( | int | globalIndex | ) | const [inline, virtual] |
get the element at the given global index
Implements Playa::GhostView< double >.
Definition at line 39 of file PlayaSerialGhostView.hpp.
void Playa::SerialGhostView::getElements | ( | const int * | globalIndices, | |
int | numElems, | |||
Array< double > & | elems | |||
) | const [inline] |
get the batch of elements at the given global indices
Definition at line 43 of file PlayaSerialGhostView.hpp.
void Playa::SerialGhostView::print | ( | std::ostream & | os | ) | const [inline, virtual] |