MOOCHO (Single Doxygen Collection)
Version of the Day
|
VectorSpaceFactory
adapter subclass for Thyra::VectorSpaceBase
.
More...
#include <AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp>
Private Attributes | |
const Thyra::VectorSpaceFactoryBase < value_type > * | thyra_vector_space_factory |
Constructors / Initializers | |
VectorSpaceFactoryThyra () | |
Construct to uninitialized. More... | |
VectorSpaceFactoryThyra (const Teuchos::RCP< const Thyra::VectorSpaceFactoryBase< value_type > > &thyra_vec_spc_fcty) | |
Calls this->initialize() . More... | |
void | initialize (const Teuchos::RCP< const Thyra::VectorSpaceFactoryBase< value_type > > &thyra_vec_spc_fcty) |
Initalize given a smart pointer to a Thyra::VetorSpaceFactory object. More... | |
Teuchos::RCP< const Thyra::VectorSpaceFactoryBase < value_type > > | set_uninitialized () |
Set to uninitialized and return smart pointer to the internal Thyra::VectorSpaceBase object. More... | |
const Teuchos::RCP< 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. More... | |
Overridden from VectorSpaceFactory | |
space_ptr_t | create_vec_spc (index_type dim) const |
Additional Inherited Members | |
Public Types inherited from AbstractLinAlgPack::VectorSpaceFactory | |
typedef Teuchos::RCP< const InnerProduct > | inner_prod_ptr_t |
typedef Teuchos::RCP< const VectorSpace > | space_ptr_t |
Public Member Functions inherited from AbstractLinAlgPack::VectorSpaceFactory | |
virtual | ~VectorSpaceFactory () |
VectorSpaceFactory (const inner_prod_ptr_t &inner_prod=Teuchos::null) | |
Calls inner_prod() More... | |
virtual void | inner_prod (const inner_prod_ptr_t &inner_prod) |
Initialize with an inner product object that will be given to vector. More... | |
virtual const inner_prod_ptr_t | inner_prod () const |
Return the smart pointer to the inner product strategy object. More... | |
VectorSpaceFactory
adapter subclass for Thyra::VectorSpaceBase
.
Definition at line 52 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp.
AbstractLinAlgPack::VectorSpaceFactoryThyra::VectorSpaceFactoryThyra | ( | ) |
Construct to uninitialized.
Postconditioins:
this->thyra_vec().get() == NULL
Definition at line 50 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.
AbstractLinAlgPack::VectorSpaceFactoryThyra::VectorSpaceFactoryThyra | ( | const Teuchos::RCP< const Thyra::VectorSpaceFactoryBase< value_type > > & | thyra_vec_spc_fcty | ) |
Calls this->initialize()
.
Definition at line 53 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.
void AbstractLinAlgPack::VectorSpaceFactoryThyra::initialize | ( | const Teuchos::RCP< const Thyra::VectorSpaceFactoryBase< value_type > > & | thyra_vec_spc_fcty | ) |
Initalize given a smart pointer to a Thyra::VetorSpaceFactory
object.
thyra_vec_spc_fcty | [in] Smart pointer to Thyra vector |
Preconditioins:
thyra_vec_spc_fcty.get() != NULL
(throw std::invalid_argument
) Postconditioins:
this->thyra_vec_spc_fcty().get() == thyra_vec_spc_fcty.get()
Definition at line 60 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.
Teuchos::RCP< const Thyra::VectorSpaceFactoryBase< value_type > > AbstractLinAlgPack::VectorSpaceFactoryThyra::set_uninitialized | ( | ) |
Set to uninitialized and return smart pointer to the internal Thyra::VectorSpaceBase
object.
Postconditioins:
this->thyra_vec_spc_fcty().get() == NULL
Definition at line 72 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.
|
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 120 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp.
|
virtual |
Implements AbstractLinAlgPack::VectorSpaceFactory.
Definition at line 82 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.cpp.
|
private |
Definition at line 108 of file AbstractLinAlgPack_VectorSpaceFactoryThyra.hpp.