Playa::EpetraVectorSpace Class Reference

Inheritance diagram for Playa::EpetraVectorSpace:

Playa::VectorSpaceBase< double >

List of all members.

Public Member Functions

 EpetraVectorSpace (const RCP< const Epetra_Map > &map)
RCP< VectorBase< double > > createMember (const VectorSpace< double > &self) const
const RCP< const Epetra_Map > & epetraMap () const
virtual const MPICommcomm () const
Overridden form Teuchos::Describable


std::string description () const
 
Public overridden from VectorSpace


int dim () const
int numLocalElements () const
int baseGlobalNaturalIndex () const
bool isCompatible (const VectorSpaceBase< double > *other) const
int numBlocks () const

Protected Member Functions

MPIComm epetraCommToTeuchosMPIComm (const Epetra_Comm &epComm)

Private Attributes

RCP< const Epetra_Map > epetraMap_
MPIComm comm_
int globalDim_
int baseGlobalNaturalIndex_
int numLocalElements_


Detailed Description

Adaptor wrapping Epetra map in the Thyra vector space system.

Definition at line 22 of file PlayaEpetraVectorSpace.hpp.


Constructor & Destructor Documentation

Playa::EpetraVectorSpace::EpetraVectorSpace ( const RCP< const Epetra_Map > &  map  ) 

Definition at line 30 of file PlayaEpetraVectorSpace.cpp.


Member Function Documentation

int Playa::EpetraVectorSpace::baseGlobalNaturalIndex (  )  const [inline, virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 48 of file PlayaEpetraVectorSpace.hpp.

References baseGlobalNaturalIndex_.

virtual const MPIComm& Playa::EpetraVectorSpace::comm (  )  const [inline, virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 63 of file PlayaEpetraVectorSpace.hpp.

References comm_.

Teuchos::RCP< VectorBase< double > > Playa::EpetraVectorSpace::createMember ( const VectorSpace< double > &  self  )  const [virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 58 of file PlayaEpetraVectorSpace.cpp.

string Playa::EpetraVectorSpace::description (  )  const

Definition at line 66 of file PlayaEpetraVectorSpace.cpp.

References dim(), numLocalElements(), and Teuchos::toString().

int Playa::EpetraVectorSpace::dim (  )  const [inline, virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 42 of file PlayaEpetraVectorSpace.hpp.

References globalDim_.

Referenced by description().

MPIComm Playa::EpetraVectorSpace::epetraCommToTeuchosMPIComm ( const Epetra_Comm &  epComm  )  [protected]

Definition at line 38 of file PlayaEpetraVectorSpace.cpp.

References Playa::MPIComm::self().

const RCP<const Epetra_Map>& Playa::EpetraVectorSpace::epetraMap (  )  const [inline]

bool Playa::EpetraVectorSpace::isCompatible ( const VectorSpaceBase< double > *  other  )  const [virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 48 of file PlayaEpetraVectorSpace.cpp.

References epetraMap_.

int Playa::EpetraVectorSpace::numBlocks (  )  const [inline, virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 53 of file PlayaEpetraVectorSpace.hpp.

int Playa::EpetraVectorSpace::numLocalElements (  )  const [inline, virtual]

Implements Playa::VectorSpaceBase< double >.

Definition at line 45 of file PlayaEpetraVectorSpace.hpp.

References numLocalElements_.

Referenced by description().


Member Data Documentation

Definition at line 76 of file PlayaEpetraVectorSpace.hpp.

Referenced by baseGlobalNaturalIndex().

Definition at line 72 of file PlayaEpetraVectorSpace.hpp.

Referenced by comm().

RCP<const Epetra_Map> Playa::EpetraVectorSpace::epetraMap_ [private]

Definition at line 70 of file PlayaEpetraVectorSpace.hpp.

Referenced by epetraMap(), and isCompatible().

Definition at line 74 of file PlayaEpetraVectorSpace.hpp.

Referenced by dim().

Definition at line 78 of file PlayaEpetraVectorSpace.hpp.

Referenced by numLocalElements().

Site Contact