|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
Allocator class to be used with Teuchos::AbstractFactoryStd to create MultiVectorBase objects of a given size.
More...
#include <Thyra_MultiVectorAllocator.hpp>
Public Types | |
| typedef Teuchos::RCP < MultiVectorBase< Scalar > > | ptr_t |
| | |
Public Member Functions | |
| MultiVectorAllocator () | |
| | |
| MultiVectorAllocator (const Teuchos::RCP< const VectorSpaceBase< Scalar > > &vs, int numMembers) | |
| | |
| const ptr_t | allocate () const |
| | |
Private Attributes | |
| Teuchos::RCP< const VectorSpaceBase< Scalar > > | vs_ |
| int | numMembers_ |
Allocator class to be used with Teuchos::AbstractFactoryStd to create MultiVectorBase objects of a given size.
Definition at line 41 of file Thyra_MultiVectorAllocator.hpp.
| typedef Teuchos::RCP<MultiVectorBase<Scalar> > Thyra::MultiVectorAllocator< Scalar >::ptr_t |
Definition at line 46 of file Thyra_MultiVectorAllocator.hpp.
| Thyra::MultiVectorAllocator< Scalar >::MultiVectorAllocator | ( | ) | [inline] |
Definition at line 44 of file Thyra_MultiVectorAllocator.hpp.
| Thyra::MultiVectorAllocator< Scalar >::MultiVectorAllocator | ( | const Teuchos::RCP< const VectorSpaceBase< Scalar > > & | vs, |
| int | numMembers | ||
| ) | [inline] |
Definition at line 48 of file Thyra_MultiVectorAllocator.hpp.
| const ptr_t Thyra::MultiVectorAllocator< Scalar >::allocate | ( | ) | const [inline] |
Definition at line 56 of file Thyra_MultiVectorAllocator.hpp.
References Thyra::MultiVectorAllocator< Scalar >::numMembers_, and Thyra::MultiVectorAllocator< Scalar >::vs_.
Teuchos::RCP<const VectorSpaceBase<Scalar> > Thyra::MultiVectorAllocator< Scalar >::vs_ [private] |
Definition at line 58 of file Thyra_MultiVectorAllocator.hpp.
Referenced by Thyra::MultiVectorAllocator< Scalar >::allocate().
int Thyra::MultiVectorAllocator< Scalar >::numMembers_ [private] |
Definition at line 59 of file Thyra_MultiVectorAllocator.hpp.
Referenced by Thyra::MultiVectorAllocator< Scalar >::allocate().
1.7.4