AbstractLinAlgPack::VectorSpaceFactoryThyra Class Reference

VectorSpaceFactory adapter subclass for Thyra::VectorSpaceBase. More...

#include <AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp>

Inheritance diagram for AbstractLinAlgPack::VectorSpaceFactoryThyra:

[legend]
List of all members.

Constructors / Initializers

 VectorSpaceFactoryThyra ()
 Construct to uninitialized.
 VectorSpaceFactoryThyra (const Teuchos::RefCountPtr< const Thyra::VectorSpaceFactoryBase< value_type > > &thyra_vec_spc_fcty)
 Calls this->initialize().
void initialize (const Teuchos::RefCountPtr< const Thyra::VectorSpaceFactoryBase< value_type > > &thyra_vec_spc_fcty)
 Initalize given a smart pointer to a Thyra::VetorSpaceFactory object.
Teuchos::RefCountPtr< const
Thyra::VectorSpaceFactoryBase<
value_type > > 
set_uninitialized ()
 Set to uninitialized and return smart pointer to the internal Thyra::VectorSpaceBase object.
const Teuchos::RefCountPtr<
const Thyra::VectorSpaceFactoryBase<
value_type > > & 
thyra_vec_spc_fcty () const
 Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorSpaceBase object.

Overridden from VectorSpaceFactory

space_ptr_t create_vec_spc (index_type dim) const
 

Private Attributes

const Thyra::VectorSpaceFactoryBase<
value_type > * 
thyra_vector_space_factory

Detailed Description

VectorSpaceFactory adapter subclass for Thyra::VectorSpaceBase.

Definition at line 39 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::VectorSpaceFactoryThyra::VectorSpaceFactoryThyra  ) 
 

Construct to uninitialized.

Postconditioins:

  • this->thyra_vec().get() == NULL

Definition at line 37 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.

AbstractLinAlgPack::VectorSpaceFactoryThyra::VectorSpaceFactoryThyra const Teuchos::RefCountPtr< const Thyra::VectorSpaceFactoryBase< value_type > > &  thyra_vec_spc_fcty  ) 
 

Calls this->initialize().

Definition at line 40 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.


Member Function Documentation

void AbstractLinAlgPack::VectorSpaceFactoryThyra::initialize const Teuchos::RefCountPtr< const Thyra::VectorSpaceFactoryBase< value_type > > &  thyra_vec_spc_fcty  ) 
 

Initalize given a smart pointer to a Thyra::VetorSpaceFactory object.

Parameters:
thyra_vec_spc_fcty [in] Smart pointer to Thyra vector
Preconditioins:
  • thyra_vec_spc_fcty.get() != NULL (throw std::invalid_argument)

Postconditioins:

Definition at line 47 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.

Teuchos::RefCountPtr< const Thyra::VectorSpaceFactoryBase< value_type > > AbstractLinAlgPack::VectorSpaceFactoryThyra::set_uninitialized  ) 
 

Set to uninitialized and return smart pointer to the internal Thyra::VectorSpaceBase object.

Postconditioins:

Definition at line 59 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.

const Teuchos::RefCountPtr< const Thyra::VectorSpaceFactoryBase< value_type > > & AbstractLinAlgPack::VectorSpaceFactoryThyra::thyra_vec_spc_fcty  )  const [inline]
 

Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorSpaceBase object.

If this->thyra_vec_spc_fcty().count() == 1, then this has sole ownership of the *this->thyra_vec_spc_fcty() object.

Definition at line 107 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp.

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

Implements AbstractLinAlgPack::VectorSpaceFactory.

Definition at line 69 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.


Member Data Documentation

const Thyra::VectorSpaceFactoryBase<value_type>* AbstractLinAlgPack::VectorSpaceFactoryThyra::thyra_vector_space_factory [private]
 

Definition at line 95 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:13 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1