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 MPIComm & | comm () 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_ |
Definition at line 22 of file PlayaEpetraVectorSpace.hpp.
Playa::EpetraVectorSpace::EpetraVectorSpace | ( | const RCP< const Epetra_Map > & | map | ) |
Definition at line 30 of file PlayaEpetraVectorSpace.cpp.
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] |
const RCP<const Epetra_Map>& Playa::EpetraVectorSpace::epetraMap | ( | ) | const [inline] |
Definition at line 58 of file PlayaEpetraVectorSpace.hpp.
References epetraMap_.
Referenced by Playa::EpetraVectorType::createGhostImporter(), Epetra::Epetra_PlayaOperator::Epetra_PlayaOperator(), and Playa::EpetraVector::EpetraVector().
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().
int Playa::EpetraVectorSpace::baseGlobalNaturalIndex_ [private] |
MPIComm Playa::EpetraVectorSpace::comm_ [private] |
RCP<const Epetra_Map> Playa::EpetraVectorSpace::epetraMap_ [private] |
Definition at line 70 of file PlayaEpetraVectorSpace.hpp.
Referenced by epetraMap(), and isCompatible().
int Playa::EpetraVectorSpace::globalDim_ [private] |
int Playa::EpetraVectorSpace::numLocalElements_ [private] |