Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_VectorSpaceDefaultBase_decl.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Thyra: Interfaces and Support for Abstract Numerical Algorithms
4 //
5 // Copyright 2004 NTESS and the Thyra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef THYRA_VECTOR_SPACE_DEFAULT_BASE_DECL_HPP
11 #define THYRA_VECTOR_SPACE_DEFAULT_BASE_DECL_HPP
12 
13 #include "Thyra_VectorSpaceBase_decl.hpp"
14 
15 
16 namespace Thyra {
17 
18 
40 template<class Scalar>
41 class VectorSpaceDefaultBase : virtual public VectorSpaceBase<Scalar> {
42 protected:
43 
46 
52  RCP< MultiVectorBase<Scalar> > createMembers(int numMembers) const;
53 
64 
74 
86 
95 
97 
98 };
99 
100 
101 } // end namespace Thyra
102 
103 
104 #endif // THYRA_VECTOR_SPACE_DEFAULT_BASE_DECL_HPP
RCP< VectorBase< Scalar > > createMemberView(const RTOpPack::SubVectorView< Scalar > &raw_v) const
Abstract interface for objects that represent a space for vectors.
RCP< MultiVectorBase< Scalar > > createMembers(int numMembers) const
RCP< MultiVectorBase< Scalar > > createMembersView(const RTOpPack::SubMultiVectorView< Scalar > &raw_mv) const
Node VectorSpaceBase subclass that provides default implementations for many functions using a defaul...