Public Member Functions | |
EpetraGhostView () | |
virtual | ~EpetraGhostView () |
bool | isAccessible (int globalIndex) const |
const double & | getElement (int globalIndex) const |
void | getElements (const int *globalIndices, int numElems, Array< double > &elems) const |
void | import (const Epetra_Import &importer, const Epetra_Vector &srcObject) |
void | print (std::ostream &os) const |
Private Attributes | |
RCP< Epetra_Vector > | ghostView_ |
Definition at line 24 of file PlayaEpetraGhostView.hpp.
Playa::EpetraGhostView::EpetraGhostView | ( | ) | [inline] |
Definition at line 28 of file PlayaEpetraGhostView.hpp.
virtual Playa::EpetraGhostView::~EpetraGhostView | ( | ) | [inline, virtual] |
virtual dtor
Definition at line 33 of file PlayaEpetraGhostView.hpp.
const double & Playa::EpetraGhostView::getElement | ( | int | globalIndex | ) | const [virtual] |
get the element at the given global index
Implements Playa::GhostView< double >.
Definition at line 14 of file PlayaEpetraGhostView.cpp.
References ghostView_.
void Playa::EpetraGhostView::getElements | ( | const int * | globalIndices, | |
int | numElems, | |||
Array< double > & | elems | |||
) | const [virtual] |
get the batch of elements at the given global indices
Implements Playa::GhostView< double >.
Definition at line 20 of file PlayaEpetraGhostView.cpp.
References ghostView_.
void Playa::EpetraGhostView::import | ( | const Epetra_Import & | importer, | |
const Epetra_Vector & | srcObject | |||
) |
Definition at line 32 of file PlayaEpetraGhostView.cpp.
References ghostView_, and Playa::Out::os().
Referenced by Playa::EpetraGhostImporter::importView().
bool Playa::EpetraGhostView::isAccessible | ( | int | globalIndex | ) | const [inline, virtual] |
Indicate whether the given global index is accessible in this view
Implements Playa::GhostView< double >.
Definition at line 36 of file PlayaEpetraGhostView.hpp.
References ghostView_.
void Playa::EpetraGhostView::print | ( | std::ostream & | os | ) | const [virtual] |
Implements Playa::GhostView< double >.
Definition at line 55 of file PlayaEpetraGhostView.cpp.
References ghostView_.
RCP<Epetra_Vector> Playa::EpetraGhostView::ghostView_ [private] |
Definition at line 53 of file PlayaEpetraGhostView.hpp.
Referenced by getElement(), getElements(), import(), isAccessible(), and print().