Public Member Functions | |
SerialVectorSpace (int dim) | |
RCP< VectorBase< double > > | createMember (const VectorSpace< double > &self) const |
int | dim () const |
int | numBlocks () const |
int | numLocalElements () const |
int | baseGlobalNaturalIndex () const |
bool | isCompatible (const VectorSpaceBase< double > *other) const |
virtual const MPIComm & | comm () const |
Overridden from Teuchos::Describable | |
std::string | description () const |
| |
Private Attributes | |
int | dim_ |
MPIComm | comm_ |
Definition at line 19 of file PlayaSerialVectorSpace.hpp.
Playa::SerialVectorSpace::SerialVectorSpace | ( | int | dim | ) |
Definition at line 22 of file PlayaSerialVectorSpace.cpp.
int Playa::SerialVectorSpace::baseGlobalNaturalIndex | ( | ) | const [inline, virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 46 of file PlayaSerialVectorSpace.hpp.
virtual const MPIComm& Playa::SerialVectorSpace::comm | ( | ) | const [inline, virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 52 of file PlayaSerialVectorSpace.hpp.
References comm_.
RCP< VectorBase< double > > Playa::SerialVectorSpace::createMember | ( | const VectorSpace< double > & | self | ) | const [virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 30 of file PlayaSerialVectorSpace.cpp.
string Playa::SerialVectorSpace::description | ( | ) | const |
Definition at line 46 of file PlayaSerialVectorSpace.cpp.
References dim(), and Teuchos::toString().
int Playa::SerialVectorSpace::dim | ( | ) | const [inline, virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 37 of file PlayaSerialVectorSpace.hpp.
References dim_.
Referenced by description(), isCompatible(), and numLocalElements().
bool Playa::SerialVectorSpace::isCompatible | ( | const VectorSpaceBase< double > * | other | ) | const [virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 39 of file PlayaSerialVectorSpace.cpp.
References dim().
int Playa::SerialVectorSpace::numBlocks | ( | ) | const [inline, virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 40 of file PlayaSerialVectorSpace.hpp.
int Playa::SerialVectorSpace::numLocalElements | ( | ) | const [inline, virtual] |
Implements Playa::VectorSpaceBase< double >.
Definition at line 43 of file PlayaSerialVectorSpace.hpp.
References dim().
MPIComm Playa::SerialVectorSpace::comm_ [private] |
int Playa::SerialVectorSpace::dim_ [private] |