Public Member Functions | Private Attributes
TSFExtended::EpetraGhostImporter Class Reference

Ghost element importer for Epetra vectors. More...

Inheritance diagram for TSFExtended::EpetraGhostImporter:
TSFExtended::GhostImporter< double >

List of all members.

Public Member Functions

 EpetraGhostImporter (const RCP< const Epetra_Map > &epetraMap, int nGhost, const int *ghostElements)
virtual ~EpetraGhostImporter ()
 virtual dtor
virtual void importView (const Vector< double > &x, RCP< GhostView< double > > &ghostView) const
 Import the ghost elements of the given vector as specified during construction of this object.

Private Attributes

RCP< const Epetra_Map > localMap_
RCP< const Epetra_Map > ghostMap_
RCP< Epetra_Import > importer_

Detailed Description

Ghost element importer for Epetra vectors.

Definition at line 47 of file TSFEpetraGhostImporter.hpp.


Constructor & Destructor Documentation

EpetraGhostImporter::EpetraGhostImporter ( const RCP< const Epetra_Map > &  epetraMap,
int  nGhost,
const int *  ghostElements 
)

Definition at line 40 of file TSFEpetraGhostImporter.cpp.

virtual TSFExtended::EpetraGhostImporter::~EpetraGhostImporter ( ) [inline, virtual]

virtual dtor

Definition at line 55 of file TSFEpetraGhostImporter.hpp.


Member Function Documentation

void EpetraGhostImporter::importView ( const Vector< double > &  x,
RCP< GhostView< double > > &  ghostView 
) const [virtual]

Import the ghost elements of the given vector as specified during construction of this object.

Implements TSFExtended::GhostImporter< double >.

Definition at line 72 of file TSFEpetraGhostImporter.cpp.

References TSFExtended::EpetraVector::getConcrete(), and TSFExtended::EpetraGhostView::import().


Member Data Documentation

RCP<const Epetra_Map> TSFExtended::EpetraGhostImporter::ghostMap_ [private]

Definition at line 67 of file TSFEpetraGhostImporter.hpp.

RCP<Epetra_Import> TSFExtended::EpetraGhostImporter::importer_ [private]

Definition at line 69 of file TSFEpetraGhostImporter.hpp.

RCP<const Epetra_Map> TSFExtended::EpetraGhostImporter::localMap_ [private]

Definition at line 65 of file TSFEpetraGhostImporter.hpp.

Site Contact