Thyra Version of the Day
Loading...
Searching...
No Matches
Thyra::MultiVectorAllocator< Scalar > Class Template Reference

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

Detailed Description

template<class Scalar>
class Thyra::MultiVectorAllocator< Scalar >

Allocator class to be used with Teuchos::AbstractFactoryStd to create MultiVectorBase objects of a given size.

Definition at line 22 of file Thyra_MultiVectorAllocator.hpp.

Member Typedef Documentation

◆ ptr_t

template<class Scalar>
typedef Teuchos::RCP<MultiVectorBase<Scalar> > Thyra::MultiVectorAllocator< Scalar >::ptr_t

Definition at line 27 of file Thyra_MultiVectorAllocator.hpp.

Constructor & Destructor Documentation

◆ MultiVectorAllocator() [1/2]

template<class Scalar>
Thyra::MultiVectorAllocator< Scalar >::MultiVectorAllocator ( )
inline

Definition at line 25 of file Thyra_MultiVectorAllocator.hpp.

◆ MultiVectorAllocator() [2/2]

template<class Scalar>
Thyra::MultiVectorAllocator< Scalar >::MultiVectorAllocator ( const Teuchos::RCP< const VectorSpaceBase< Scalar > > & vs,
int numMembers )
inline

Definition at line 29 of file Thyra_MultiVectorAllocator.hpp.

Member Function Documentation

◆ allocate()

template<class Scalar>
const ptr_t Thyra::MultiVectorAllocator< Scalar >::allocate ( ) const
inline

Definition at line 37 of file Thyra_MultiVectorAllocator.hpp.


The documentation for this class was generated from the following file: