Public Member Functions | Protected Member Functions | Private Attributes
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 59 of file PlayaEpetraVectorSpace.hpp.


Constructor & Destructor Documentation

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

Definition at line 67 of file PlayaEpetraVectorSpace.cpp.


Member Function Documentation

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

Implements Playa::VectorSpaceBase< double >.

Definition at line 85 of file PlayaEpetraVectorSpace.hpp.

References baseGlobalNaturalIndex_.

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

Implements Playa::VectorSpaceBase< double >.

Definition at line 100 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 95 of file PlayaEpetraVectorSpace.cpp.

Definition at line 103 of file PlayaEpetraVectorSpace.cpp.

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

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

Implements Playa::VectorSpaceBase< double >.

Definition at line 79 of file PlayaEpetraVectorSpace.hpp.

References globalDim_.

Referenced by description().

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

Definition at line 75 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 85 of file PlayaEpetraVectorSpace.cpp.

References epetraMap_.

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

Implements Playa::VectorSpaceBase< double >.

Definition at line 90 of file PlayaEpetraVectorSpace.hpp.

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

Implements Playa::VectorSpaceBase< double >.

Definition at line 82 of file PlayaEpetraVectorSpace.hpp.

References numLocalElements_.

Referenced by description().


Member Data Documentation

Definition at line 113 of file PlayaEpetraVectorSpace.hpp.

Referenced by baseGlobalNaturalIndex().

Definition at line 109 of file PlayaEpetraVectorSpace.hpp.

Referenced by comm().

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

Definition at line 107 of file PlayaEpetraVectorSpace.hpp.

Referenced by epetraMap(), and isCompatible().

Definition at line 111 of file PlayaEpetraVectorSpace.hpp.

Referenced by dim().

Definition at line 115 of file PlayaEpetraVectorSpace.hpp.

Referenced by numLocalElements().

Site Contact