Public Member Functions | |
| DefaultBlockVector (const VectorSpace< Scalar > &space) | |
| DefaultBlockVector (const VectorSpace< Scalar > &space, const Array< Vector< Scalar > > &blocks) | |
| virtual | ~DefaultBlockVector () |
| virtual void | setBlock (int b, const Vector< Scalar > &block) |
| virtual const Vector< Scalar > & | getBlock (int b) const |
| virtual Vector< Scalar > | getNonConstBlock (int b) |
| virtual int | numBlocks () const |
VectorBase interface | |
| RCP< const VectorSpaceBase < double > > | space () const |
Private Attributes | |
| VectorSpace< Scalar > | space_ |
| Teuchos::Array< Vector< Scalar > > | blocks_ |
Base class for blocked vectors
Definition at line 58 of file PlayaDefaultBlockVectorDecl.hpp.
| Playa::DefaultBlockVector< Scalar >::DefaultBlockVector | ( | const VectorSpace< Scalar > & | space | ) | [inline] |
Definition at line 65 of file PlayaDefaultBlockVectorImpl.hpp.
References Playa::VectorSpace< Scalar >::getBlock(), and Playa::VectorSpace< Scalar >::numBlocks().
| Playa::DefaultBlockVector< Scalar >::DefaultBlockVector | ( | const VectorSpace< Scalar > & | space, |
| const Array< Vector< Scalar > > & | blocks | ||
| ) | [inline] |
Definition at line 76 of file PlayaDefaultBlockVectorImpl.hpp.
| virtual Playa::DefaultBlockVector< Scalar >::~DefaultBlockVector | ( | ) | [inline, virtual] |
Definition at line 69 of file PlayaDefaultBlockVectorDecl.hpp.
| const Vector< Scalar > & Playa::DefaultBlockVector< Scalar >::getBlock | ( | int | b | ) | const [inline, virtual] |
Implements Playa::BlockVectorBase< Scalar >.
Definition at line 99 of file PlayaDefaultBlockVectorImpl.hpp.
References PLAYA_BOUNDSCHECK.
| Vector< Scalar > Playa::DefaultBlockVector< Scalar >::getNonConstBlock | ( | int | b | ) | [inline, virtual] |
Implements Playa::BlockVectorBase< Scalar >.
Definition at line 108 of file PlayaDefaultBlockVectorImpl.hpp.
References PLAYA_BOUNDSCHECK.
| virtual int Playa::DefaultBlockVector< Scalar >::numBlocks | ( | ) | const [inline, virtual] |
Reimplemented from Playa::VectorBase< Scalar >.
Definition at line 87 of file PlayaDefaultBlockVectorDecl.hpp.
References Playa::DefaultBlockVector< Scalar >::blocks_.
| void Playa::DefaultBlockVector< Scalar >::setBlock | ( | int | b, |
| const Vector< Scalar > & | block | ||
| ) | [inline, virtual] |
Implements Playa::BlockVectorBase< Scalar >.
Definition at line 82 of file PlayaDefaultBlockVectorImpl.hpp.
References PLAYA_BOUNDSCHECK, and Playa::Vector< Scalar >::space().
| RCP<const VectorSpaceBase<double> > Playa::DefaultBlockVector< Scalar >::space | ( | ) | const [inline, virtual] |
Access to the space in which this vector lives
Implements Playa::VectorBase< Scalar >.
Definition at line 74 of file PlayaDefaultBlockVectorDecl.hpp.
References Playa::DefaultBlockVector< Scalar >::space_.
Teuchos::Array<Vector<Scalar> > Playa::DefaultBlockVector< Scalar >::blocks_ [private] |
Definition at line 91 of file PlayaDefaultBlockVectorDecl.hpp.
Referenced by Playa::DefaultBlockVector< Scalar >::numBlocks().
VectorSpace<Scalar> Playa::DefaultBlockVector< Scalar >::space_ [private] |
Definition at line 90 of file PlayaDefaultBlockVectorDecl.hpp.
Referenced by Playa::DefaultBlockVector< Scalar >::space().