Playa::SerialGhostView Class Reference

#include <PlayaSerialGhostView.hpp>

Inheritance diagram for Playa::SerialGhostView:

Playa::GhostView< double > Playa::Printable

List of all members.

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

Detailed Description

Dummy ghost element viewer for serial vectors.

Definition at line 23 of file PlayaSerialGhostView.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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]

Implements Playa::GhostView< double >.

Definition at line 50 of file PlayaSerialGhostView.hpp.

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