AbstractLinAlgPack::VectorSpaceFactory Class Reference

Abstract interface for objects that can create vector spaces of a specified dimension. More...

#include <AbstractLinAlgPack_VectorSpaceFactory.hpp>

Inheritance diagram for AbstractLinAlgPack::VectorSpaceFactory:

Inheritance graph
[legend]
List of all members.

Constructors / initializers

virtual ~VectorSpaceFactory ()
 
 VectorSpaceFactory (const inner_prod_ptr_t &inner_prod=Teuchos::null)
 Calls inner_prod().
virtual void inner_prod (const inner_prod_ptr_t &inner_prod)
 Initialize with an inner product object that will be given to vector.
virtual const inner_prod_ptr_t inner_prod () const
 Return the smart pointer to the inner product strategy object.

Pure virtual functions that must be overridden

virtual space_ptr_t create_vec_spc (index_type dim) const =0
 Create a vector space of the given dimension.

Public Types

typedef Teuchos::RCP< const
InnerProduct
inner_prod_ptr_t
 
typedef Teuchos::RCP< const
VectorSpace
space_ptr_t
 

Detailed Description

Abstract interface for objects that can create vector spaces of a specified dimension.

ToDo: Finish documentation!

Definition at line 41 of file AbstractLinAlgPack_VectorSpaceFactory.hpp.


Member Typedef Documentation

typedef Teuchos::RCP<const InnerProduct> AbstractLinAlgPack::VectorSpaceFactory::inner_prod_ptr_t

Definition at line 46 of file AbstractLinAlgPack_VectorSpaceFactory.hpp.

typedef Teuchos::RCP<const VectorSpace> AbstractLinAlgPack::VectorSpaceFactory::space_ptr_t

Definition at line 48 of file AbstractLinAlgPack_VectorSpaceFactory.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::VectorSpaceFactory::~VectorSpaceFactory (  )  [virtual]

Definition at line 36 of file AbstractLinAlgPack_VectorSpaceFactory.cpp.

AbstractLinAlgPack::VectorSpaceFactory::VectorSpaceFactory ( const inner_prod_ptr_t inner_prod = Teuchos::null  ) 

Calls inner_prod().

Definition at line 39 of file AbstractLinAlgPack_VectorSpaceFactory.cpp.


Member Function Documentation

virtual void AbstractLinAlgPack::VectorSpaceFactory::inner_prod ( const inner_prod_ptr_t inner_prod  )  [virtual]

Initialize with an inner product object that will be given to vector.

Parameters:
inner_prod [in] Smart pointer to inner product strategy object. If inner_prod.get()==NULL then an InnerProductDot object will be used instead.
Postconditions:

virtual const inner_prod_ptr_t AbstractLinAlgPack::VectorSpaceFactory::inner_prod (  )  const [virtual]

Return the smart pointer to the inner product strategy object.

Postconditions:

virtual space_ptr_t AbstractLinAlgPack::VectorSpaceFactory::create_vec_spc ( index_type  dim  )  const [pure virtual]

Create a vector space of the given dimension.

Postconditions:

Returns:
Returns a smart reference counted pointer to a dynamically allocated vector space object that can be used to create vector.

Implemented in AbstractLinAlgPack::VectorSpaceFactorySerial.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:31:45 2010 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.4.7