User callable creational functions for VectorBase and MultiVectorBase.
[C++ code for foundational Thyra operator/vector interfaces]


Functions

template<class Scalar>
Teuchos::RefCountPtr< const
VectorSpaceBase< Scalar > > 
Thyra::makeHaveOwnership (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs)
 Helper function that clones a VectorSpaceBase object if the RefCountPtr does not have ownership.
template<class Scalar>
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
Thyra::createMember (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs)
 Create a vector member from the vector space.
template<class Scalar>
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
Thyra::createMember (const VectorSpaceBase< Scalar > &vs)
 Calls createMember(Teuchos::rcp(&vs,false)).
template<class Scalar>
Teuchos::RefCountPtr< MultiVectorBase<
Scalar > > 
Thyra::createMembers (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs, int numMembers)
 Create a set of vector members (a MultiVectorBase) from the vector space.
template<class Scalar>
Teuchos::RefCountPtr< MultiVectorBase<
Scalar > > 
Thyra::createMembers (const VectorSpaceBase< Scalar > &vs, int numMembers)
 Calls createMembers(Teuchos::rcp(&vs,false),numMembers).
template<class Scalar>
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
Thyra::createMemberView (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::SubVectorView< Scalar > &raw_v)
 Create a vector member that is a non-const view of raw data.
template<class Scalar>
Teuchos::RefCountPtr< VectorBase<
Scalar > > 
Thyra::createMemberView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::SubVectorView< Scalar > &raw_v)
 Calls createMemberView(Teuchos::rcp(&vs,false),raw_v).
template<class Scalar>
Teuchos::RefCountPtr< const
VectorBase< Scalar > > 
Thyra::createMemberView (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::ConstSubVectorView< Scalar > &raw_v)
 Create a vector member that is a const view of raw data.
template<class Scalar>
Teuchos::RefCountPtr< const
VectorBase< Scalar > > 
Thyra::createMemberView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::ConstSubVectorView< Scalar > &raw_v)
 Calls createMemberView(Teuchos::rcp(&vs,false),raw_v).
template<class Scalar>
Teuchos::RefCountPtr< MultiVectorBase<
Scalar > > 
Thyra::createMembersView (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::SubMultiVectorView< Scalar > &raw_mv)
 Create a multi-vector member that is a non-const view of raw data.
template<class Scalar>
Teuchos::RefCountPtr< MultiVectorBase<
Scalar > > 
Thyra::createMembersView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::SubMultiVectorView< Scalar > &raw_mv)
 Calls createMembersView(Teuchos::rcp(&vs,false),raw_mv).
template<class Scalar>
Teuchos::RefCountPtr< const
MultiVectorBase< Scalar > > 
Thyra::createMembersView (const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &vs, const RTOpPack::ConstSubMultiVectorView< Scalar > &raw_mv)
 Create a multi-vector member that is a const view of raw data.
template<class Scalar>
Teuchos::RefCountPtr< const
MultiVectorBase< Scalar > > 
Thyra::createMembersView (const VectorSpaceBase< Scalar > &vs, const RTOpPack::ConstSubMultiVectorView< Scalar > &raw_mv)
 Calls createMembersView(Teuchos::rcp(&vs,false),raw_mv).

Detailed Description

These functions must be used by clients to create all VectorBase and MultiVectorBase objects in order to ensure that the created objects can live past the life time of the VectorSpaceBase object that created them.

Function Documentation

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::VectorSpaceBase< Scalar > > Thyra::makeHaveOwnership const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs  ) 
 

Helper function that clones a VectorSpaceBase object if the RefCountPtr does not have ownership.

Definition at line 66 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > Thyra::createMember const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs  ) 
 

Create a vector member from the vector space.

Calls VectorSpaceBase::createMember() on vs but the returned VectorBase object can live past vs.

Definition at line 80 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > Thyra::createMember const VectorSpaceBase< Scalar > &  vs  ) 
 

Calls createMember(Teuchos::rcp(&vs,false)).

Definition at line 92 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::MultiVectorBase< Scalar > > Thyra::createMembers const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs,
int  numMembers
 

Create a set of vector members (a MultiVectorBase) from the vector space.

Calls VectorSpaceBase::createMembers() on vs but the returned MultiVectorBase object can live past vs.

Definition at line 99 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::MultiVectorBase< Scalar > > Thyra::createMembers const VectorSpaceBase< Scalar > &  vs,
int  numMembers
 

Calls createMembers(Teuchos::rcp(&vs,false),numMembers).

Definition at line 111 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > Thyra::createMemberView const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs,
const RTOpPack::SubVectorView< Scalar > &  raw_v
 

Create a vector member that is a non-const view of raw data.

Calls VectorSpaceBase::createMemberView() on vs but the returned VectorBase object can live past vs.

Definition at line 118 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > Thyra::createMemberView const VectorSpaceBase< Scalar > &  vs,
const RTOpPack::SubVectorView< Scalar > &  raw_v
 

Calls createMemberView(Teuchos::rcp(&vs,false),raw_v).

Definition at line 127 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::VectorBase< Scalar > > Thyra::createMemberView const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs,
const RTOpPack::ConstSubVectorView< Scalar > &  raw_v
 

Create a vector member that is a const view of raw data.

Calls VectorSpaceBase::createMemberView() on vs but the returned VectorBase object can live past vs.

Definition at line 134 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::VectorBase< Scalar > > Thyra::createMemberView const VectorSpaceBase< Scalar > &  vs,
const RTOpPack::ConstSubVectorView< Scalar > &  raw_v
 

Calls createMemberView(Teuchos::rcp(&vs,false),raw_v).

Definition at line 143 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::MultiVectorBase< Scalar > > Thyra::createMembersView const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs,
const RTOpPack::SubMultiVectorView< Scalar > &  raw_mv
 

Create a multi-vector member that is a non-const view of raw data.

Calls VectorSpaceBase::createMembersView() on vs but the returned MultiVectorBase object can live past vs.

Definition at line 150 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< Thyra::MultiVectorBase< Scalar > > Thyra::createMembersView const VectorSpaceBase< Scalar > &  vs,
const RTOpPack::SubMultiVectorView< Scalar > &  raw_mv
 

Calls createMembersView(Teuchos::rcp(&vs,false),raw_mv).

Definition at line 159 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::MultiVectorBase< Scalar > > Thyra::createMembersView const Teuchos::RefCountPtr< const VectorSpaceBase< Scalar > > &  vs,
const RTOpPack::ConstSubMultiVectorView< Scalar > &  raw_mv
 

Create a multi-vector member that is a const view of raw data.

Calls VectorSpaceBase::createMembersView() on vs but the returned MultiVectorBase object can live past vs.

Definition at line 166 of file Thyra_VectorSpaceBase.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::MultiVectorBase< Scalar > > Thyra::createMembersView const VectorSpaceBase< Scalar > &  vs,
const RTOpPack::ConstSubMultiVectorView< Scalar > &  raw_mv
 

Calls createMembersView(Teuchos::rcp(&vs,false),raw_mv).

Definition at line 175 of file Thyra_VectorSpaceBase.hpp.


Generated on Thu Sep 18 12:32:11 2008 for Fundamental Thyra ANA Operator/Vector Interfaces by doxygen 1.3.9.1