Thyra::SerialVectorSpaceStd< Scalar > Class Template Reference
[Efficient Generic Serial Concrete Thyra Operator/Vector Subclass Implementations]

General concrete VectorSpaceBase subclass for serial vectors and multi-vectors. More...

#include <Thyra_SerialVectorSpaceStdDecl.hpp>

Inheritance diagram for Thyra::SerialVectorSpaceStd< Scalar >:

[legend]
List of all members.

Constructors / initializers

 SerialVectorSpaceStd (int dim=0)
 Calls this->initialize().
void initialize (int dim)
 Initialize given the dimension of the vector space.

Overridden form Teuchos::Describable

std::string description () const
 

Overridden from VectorSpace

Index dim () const
 Returns 0 if uninitialized.
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
createMember () const
 Returns a SerialVectorStd object.
Teuchos::RefCountPtr< MultiVectorBase<
Scalar > > 
createMembers (int numMembers) const
 Returns a SerialMultiVectorStd object.
Teuchos::RefCountPtr< const
VectorSpaceBase< Scalar > > 
clone () const
 Clones the object as promised.

Detailed Description

template<class Scalar>
class Thyra::SerialVectorSpaceStd< Scalar >

General concrete VectorSpaceBase subclass for serial vectors and multi-vectors.

The default copy constructor and assignment operators are allowed since they have the correct semantics.

Examples:

ComplexFFTLinearOp.hpp, test_composite_linear_ops.cpp, test_product_space.cpp, and test_std_ops.cpp.

Definition at line 45 of file Thyra_SerialVectorSpaceStdDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::SerialVectorSpaceStd< Scalar >::SerialVectorSpaceStd int  dim = 0  ) 
 

Calls this->initialize().

Definition at line 46 of file Thyra_SerialVectorSpaceStd.hpp.


Member Function Documentation

template<class Scalar>
void Thyra::SerialVectorSpaceStd< Scalar >::initialize int  dim  ) 
 

Initialize given the dimension of the vector space.

Parameters:
dim [in] The dimension of the vector space.

Definition at line 52 of file Thyra_SerialVectorSpaceStd.hpp.

template<class Scalar>
std::string Thyra::SerialVectorSpaceStd< Scalar >::description  )  const [virtual]
 

Reimplemented from Teuchos::Describable.

Definition at line 60 of file Thyra_SerialVectorSpaceStd.hpp.

template<class Scalar>
Index Thyra::SerialVectorSpaceStd< Scalar >::dim  )  const [virtual]
 

Returns 0 if uninitialized.

Implements Thyra::VectorSpaceBase< Scalar >.

Definition at line 68 of file Thyra_SerialVectorSpaceStd.hpp.

template<class Scalar>
Teuchos::RefCountPtr< VectorBase< Scalar > > Thyra::SerialVectorSpaceStd< Scalar >::createMember  )  const [virtual]
 

Returns a SerialVectorStd object.

Implements Thyra::VectorSpaceBase< Scalar >.

Definition at line 75 of file Thyra_SerialVectorSpaceStd.hpp.

template<class Scalar>
Teuchos::RefCountPtr< MultiVectorBase< Scalar > > Thyra::SerialVectorSpaceStd< Scalar >::createMembers int  numMembers  )  const [virtual]
 

Returns a SerialMultiVectorStd object.

Reimplemented from Thyra::VectorSpaceDefaultBase< Scalar >.

Definition at line 82 of file Thyra_SerialVectorSpaceStd.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > Thyra::SerialVectorSpaceStd< Scalar >::clone  )  const [virtual]
 

Clones the object as promised.

Reimplemented from Thyra::VectorSpaceBase< Scalar >.

Definition at line 98 of file Thyra_SerialVectorSpaceStd.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:39:54 2008 for Thyra ANA Operator/VectorBase Interfaces and Related Software by doxygen 1.3.9.1