|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
Concrete implementation of a product vector. More...
#include <Thyra_DefaultProductVector_decl.hpp>

Private Types | |
| typedef Teuchos::ConstNonconstObjectContainer < VectorBase< Scalar > > | CNVC |
Private Attributes | |
| RCP< const DefaultProductVectorSpace < Scalar > > | productSpace_ |
| Array< CNVC > | vecs_ |
| int | numBlocks_ |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Scalar > | |
| RCP< DefaultProductVector < Scalar > > | defaultProductVector () |
| Nonmember constructor. | |
| template<class Scalar > | |
| RCP< DefaultProductVector < Scalar > > | defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace) |
| Nonmember constructor. | |
| template<class Scalar > | |
| RCP< DefaultProductVector < Scalar > > | defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< VectorBase< Scalar > > > &vecs) |
| Nonmember constructor. | |
| template<class Scalar > | |
| RCP< DefaultProductVector < Scalar > > | defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< const VectorBase< Scalar > > > &vecs) |
| Nonmember constructor. | |
| template<class Scalar > | |
| RCP< ProductVectorBase< Scalar > > | castOrCreateNonconstProductVectorBase (const RCP< VectorBase< Scalar > > v) |
| Return a casted non-const ProductVectorBase object or create a new DefaultProductVector object with one component. | |
| template<class Scalar > | |
| RCP< const ProductVectorBase < Scalar > > | castOrCreateProductVectorBase (const RCP< const VectorBase< Scalar > > v) |
| Return a casted const ProductVectorBase object or create a new DefaultProductVector object with one component. | |
Constructors/initializers/accessors | |
| DefaultProductVector () | |
| Construct to uninitialized. | |
| DefaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace) | |
Constructs to initialized (calls initialize()). | |
| void | initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace) |
| Initialize. | |
| void | initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< VectorBase< Scalar > > > &vecs) |
| Initialize. | |
| void | initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< const VectorBase< Scalar > > > &vecs) |
| Initialize. | |
| void | uninitialize () |
| Uninitialize. | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
| | |
| void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const |
| | |
Extensions to ProductVectorBase suitable for physically-blocked vectors | |
| void | setBlock (int i, const RCP< const VectorBase< Scalar > > &b) |
| | |
| void | setNonconstBlock (int i, const RCP< VectorBase< Scalar > > &b) |
| | |
Overridden from ProductVectorBase | |
| RCP< VectorBase< Scalar > > | getNonconstVectorBlock (const int k) |
| | |
| RCP< const VectorBase< Scalar > > | getVectorBlock (const int k) const |
| | |
Overridden public functions from ProductMultiVectorBase | |
| RCP< const ProductVectorSpaceBase< Scalar > > | productSpace () const |
| | |
| bool | blockIsConst (const int k) const |
| | |
| RCP< MultiVectorBase< Scalar > > | getNonconstMultiVectorBlock (const int k) |
| | |
| RCP< const MultiVectorBase < Scalar > > | getMultiVectorBlock (const int k) const |
| | |
Overridden public functions from VectorBase | |
| RCP< const VectorSpaceBase < Scalar > > | space () const |
| | |
Overridden protected functions from VectorBase | |
| void | applyOpImpl (const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal global_offset) const |
| | |
| void | acquireDetachedVectorViewImpl (const Range1D &rng, RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const |
| | |
| void | releaseDetachedVectorViewImpl (RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const |
| | |
| void | acquireNonconstDetachedVectorViewImpl (const Range1D &rng, RTOpPack::SubVectorView< Scalar > *sub_vec) |
| | |
| void | commitNonconstDetachedVectorViewImpl (RTOpPack::SubVectorView< Scalar > *sub_vec) |
| | |
| void | setSubVectorImpl (const RTOpPack::SparseSubVectorT< Scalar > &sub_vec) |
| | |
Deprecated | |
| DefaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace_in, const RCP< VectorBase< Scalar > > vecs[]) | |
| Deprecated. | |
| void | initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace_in, const RCP< VectorBase< Scalar > > vecs[]) |
| Deprecated. | |
| void | initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace_in, const RCP< const VectorBase< Scalar > > vecs[]) |
| Deprecated. | |
Concrete implementation of a product vector.
Note that clients should almost never be creating objects of this type explicitly and should instead use DefaultProductVectorSpace as a factory.
ToDo: Finish documentation!
The default constructor is made private to avoid accidental default construction.
Definition at line 59 of file Thyra_DefaultProductVector_decl.hpp.
typedef Teuchos::ConstNonconstObjectContainer<VectorBase<Scalar> > Thyra::DefaultProductVector< Scalar >::CNVC [private] |
Definition at line 237 of file Thyra_DefaultProductVector_decl.hpp.
| Thyra::DefaultProductVector< Scalar >::DefaultProductVector | ( | ) |
Construct to uninitialized.
Definition at line 45 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::DefaultProductVector< Scalar >::uninitialize().
| Thyra::DefaultProductVector< Scalar >::DefaultProductVector | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace | ) |
Constructs to initialized (calls initialize()).
Definition at line 53 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::DefaultProductVector< Scalar >::initialize().
| Thyra::DefaultProductVector< Scalar >::DefaultProductVector | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace_in, |
| const RCP< VectorBase< Scalar > > | vecs[] | ||
| ) | [inline] |
Deprecated.
Definition at line 209 of file Thyra_DefaultProductVector_decl.hpp.
References Thyra::DefaultProductVector< Scalar >::initialize().
| void Thyra::DefaultProductVector< Scalar >::initialize | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace | ) |
Initialize.
ToDo: Finish documentation.
Definition at line 63 of file Thyra_DefaultProductVector_def.hpp.
Referenced by Thyra::DefaultProductVector< Scalar >::DefaultProductVector().
| void Thyra::DefaultProductVector< Scalar >::initialize | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace, |
| const ArrayView< const RCP< VectorBase< Scalar > > > & | vecs | ||
| ) |
Initialize.
ToDo: Finish documentation.
Definition at line 77 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::DefaultProductVector< Scalar >::initialize().
Referenced by Thyra::DefaultProductVector< Scalar >::initialize().
| void Thyra::DefaultProductVector< Scalar >::initialize | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace, |
| const ArrayView< const RCP< const VectorBase< Scalar > > > & | vecs | ||
| ) |
Initialize.
ToDo: Finish documentation.
Definition at line 96 of file Thyra_DefaultProductVector_def.hpp.
| void Thyra::DefaultProductVector< Scalar >::uninitialize | ( | ) |
Uninitialize.
ToDo: Finish documentation.
Definition at line 115 of file Thyra_DefaultProductVector_def.hpp.
Referenced by Thyra::DefaultProductVector< Scalar >::DefaultProductVector().
| std::string Thyra::DefaultProductVector< Scalar >::description | ( | ) | const [virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 127 of file Thyra_DefaultProductVector_def.hpp.
| void Thyra::DefaultProductVector< Scalar >::describe | ( | Teuchos::FancyOStream & | out, |
| const Teuchos::EVerbosityLevel | verbLevel | ||
| ) | const [virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 142 of file Thyra_DefaultProductVector_def.hpp.
| void Thyra::DefaultProductVector< Scalar >::setBlock | ( | int | i, |
| const RCP< const VectorBase< Scalar > > & | b | ||
| ) |
Definition at line 202 of file Thyra_DefaultBlockedTriangularLinearOpWithSolve_def.hpp.
| void Thyra::DefaultProductVector< Scalar >::setNonconstBlock | ( | int | i, |
| const RCP< VectorBase< Scalar > > & | b | ||
| ) |
Definition at line 191 of file Thyra_DefaultBlockedTriangularLinearOpWithSolve_def.hpp.
| RCP< VectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getNonconstVectorBlock | ( | const int | k | ) | [virtual] |
Implements Thyra::ProductVectorBase< Scalar >.
Definition at line 218 of file Thyra_DefaultProductVector_def.hpp.
| RCP< const VectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getVectorBlock | ( | const int | k | ) | const [virtual] |
Implements Thyra::ProductVectorBase< Scalar >.
Definition at line 229 of file Thyra_DefaultProductVector_def.hpp.
| RCP< const ProductVectorSpaceBase< Scalar > > Thyra::DefaultProductVector< Scalar >::productSpace | ( | ) | const [virtual] |
Implements Thyra::ProductMultiVectorBase< Scalar >.
Definition at line 243 of file Thyra_DefaultProductVector_def.hpp.
| bool Thyra::DefaultProductVector< Scalar >::blockIsConst | ( | const int | k | ) | const [virtual] |
Implements Thyra::ProductMultiVectorBase< Scalar >.
Definition at line 250 of file Thyra_DefaultProductVector_def.hpp.
| RCP< MultiVectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getNonconstMultiVectorBlock | ( | const int | k | ) | [virtual] |
Implements Thyra::ProductMultiVectorBase< Scalar >.
Definition at line 261 of file Thyra_DefaultProductVector_def.hpp.
| RCP< const MultiVectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getMultiVectorBlock | ( | const int | k | ) | const [virtual] |
Implements Thyra::ProductMultiVectorBase< Scalar >.
Definition at line 269 of file Thyra_DefaultProductVector_def.hpp.
| RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultProductVector< Scalar >::space | ( | ) | const [virtual] |
Implements Thyra::VectorBase< Scalar >.
Definition at line 280 of file Thyra_DefaultProductVector_def.hpp.
| void Thyra::DefaultProductVector< Scalar >::applyOpImpl | ( | const RTOpPack::RTOpT< Scalar > & | op, |
| const ArrayView< const Ptr< const VectorBase< Scalar > > > & | vecs, | ||
| const ArrayView< const Ptr< VectorBase< Scalar > > > & | targ_vecs, | ||
| const Ptr< RTOpPack::ReductTarget > & | reduct_obj, | ||
| const Ordinal | global_offset | ||
| ) | const [protected, virtual] |
Implements Thyra::VectorBase< Scalar >.
Definition at line 287 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::n.
| void Thyra::DefaultProductVector< Scalar >::acquireDetachedVectorViewImpl | ( | const Range1D & | rng, |
| RTOpPack::ConstSubVectorView< Scalar > * | sub_vec | ||
| ) | const [protected, virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 407 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::VectorDefaultBase< Scalar >::acquireDetachedVectorViewImpl().
| void Thyra::DefaultProductVector< Scalar >::releaseDetachedVectorViewImpl | ( | RTOpPack::ConstSubVectorView< Scalar > * | sub_vec | ) | const [protected, virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 442 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::VectorDefaultBase< Scalar >::releaseDetachedVectorViewImpl().
| void Thyra::DefaultProductVector< Scalar >::acquireNonconstDetachedVectorViewImpl | ( | const Range1D & | rng, |
| RTOpPack::SubVectorView< Scalar > * | sub_vec | ||
| ) | [protected, virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 470 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::VectorDefaultBase< Scalar >::acquireNonconstDetachedVectorViewImpl().
| void Thyra::DefaultProductVector< Scalar >::commitNonconstDetachedVectorViewImpl | ( | RTOpPack::SubVectorView< Scalar > * | sub_vec | ) | [protected, virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 505 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::VectorDefaultBase< Scalar >::commitNonconstDetachedVectorViewImpl().
| void Thyra::DefaultProductVector< Scalar >::setSubVectorImpl | ( | const RTOpPack::SparseSubVectorT< Scalar > & | sub_vec | ) | [protected, virtual] |
Reimplemented from Thyra::VectorDefaultBase< Scalar >.
Definition at line 533 of file Thyra_DefaultProductVector_def.hpp.
References Thyra::VectorBase< Scalar >::setSubVector().
| void Thyra::DefaultProductVector< Scalar >::initialize | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace_in, |
| const RCP< VectorBase< Scalar > > | vecs[] | ||
| ) | [inline] |
Deprecated.
Definition at line 217 of file Thyra_DefaultProductVector_decl.hpp.
References Thyra::DefaultProductVector< Scalar >::initialize().
Referenced by Thyra::DefaultProductVector< Scalar >::initialize().
| void Thyra::DefaultProductVector< Scalar >::initialize | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace_in, |
| const RCP< const VectorBase< Scalar > > | vecs[] | ||
| ) | [inline] |
Deprecated.
Definition at line 224 of file Thyra_DefaultProductVector_decl.hpp.
References Thyra::DefaultProductVector< Scalar >::initialize().
Referenced by Thyra::DefaultProductVector< Scalar >::initialize().
| RCP< DefaultProductVector< Scalar > > defaultProductVector | ( | ) | [related] |
Nonmember constructor.
Definition at line 257 of file Thyra_DefaultProductVector_decl.hpp.
| RCP< DefaultProductVector< Scalar > > defaultProductVector | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace | ) | [related] |
Nonmember constructor.
Definition at line 270 of file Thyra_DefaultProductVector_decl.hpp.
| RCP< DefaultProductVector< Scalar > > defaultProductVector | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace, |
| const ArrayView< const RCP< VectorBase< Scalar > > > & | vecs | ||
| ) | [related] |
Nonmember constructor.
Definition at line 286 of file Thyra_DefaultProductVector_decl.hpp.
| RCP< DefaultProductVector< Scalar > > defaultProductVector | ( | const RCP< const DefaultProductVectorSpace< Scalar > > & | productSpace, |
| const ArrayView< const RCP< const VectorBase< Scalar > > > & | vecs | ||
| ) | [related] |
Nonmember constructor.
Definition at line 303 of file Thyra_DefaultProductVector_decl.hpp.
| RCP< ProductVectorBase< Scalar > > castOrCreateNonconstProductVectorBase | ( | const RCP< VectorBase< Scalar > > | v | ) | [related] |
Return a casted non-const ProductVectorBase object or create a new DefaultProductVector object with one component.
| RCP< const ProductVectorBase< Scalar > > castOrCreateProductVectorBase | ( | const RCP< const VectorBase< Scalar > > | v | ) | [related] |
Return a casted const ProductVectorBase object or create a new DefaultProductVector object with one component.
RCP<const DefaultProductVectorSpace<Scalar> > Thyra::DefaultProductVector< Scalar >::productSpace_ [private] |
Definition at line 242 of file Thyra_DefaultProductVector_decl.hpp.
Array<CNVC> Thyra::DefaultProductVector< Scalar >::vecs_ [private] |
Definition at line 243 of file Thyra_DefaultProductVector_decl.hpp.
int Thyra::DefaultProductVector< Scalar >::numBlocks_ [private] |
Definition at line 245 of file Thyra_DefaultProductVector_decl.hpp.
1.7.4