10 #ifndef THYRA_TPETRA_THYRA_WRAPPERS_DECL_HPP
11 #define THYRA_TPETRA_THYRA_WRAPPERS_DECL_HPP
14 #include "Thyra_OperatorVectorTypes.hpp"
15 #include "Thyra_TpetraVectorSpace_decl.hpp"
16 #include "Thyra_TpetraVector_decl.hpp"
17 #include "Thyra_TpetraMultiVector_decl.hpp"
18 #include "Thyra_TpetraLinearOp_decl.hpp"
31 RCP<const Teuchos::Comm<Ordinal> >
39 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
40 RCP<const VectorSpaceBase<Scalar> >
48 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
49 RCP<VectorBase<Scalar> >
52 const RCP<
const VectorSpaceBase<Scalar> > space = Teuchos::null
60 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
61 RCP<const VectorBase<Scalar> >
64 const RCP<
const VectorSpaceBase<Scalar> > space = Teuchos::null
72 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
73 RCP<MultiVectorBase<Scalar> >
76 const RCP<
const VectorSpaceBase<Scalar> > rangeSpace = Teuchos::null,
77 const RCP<
const VectorSpaceBase<Scalar> > domainSpace = Teuchos::null
85 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
86 RCP<const MultiVectorBase<Scalar> >
89 const RCP<
const VectorSpaceBase<Scalar> > rangeSpace = Teuchos::null,
90 const RCP<
const VectorSpaceBase<Scalar> > domainSpace = Teuchos::null
98 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
99 RCP<LinearOpBase<Scalar> >
102 const RCP<
const VectorSpaceBase<Scalar> > rangeSpace = Teuchos::null,
103 const RCP<
const VectorSpaceBase<Scalar> > domainSpace = Teuchos::null
111 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
112 RCP<const LinearOpBase<Scalar> >
115 const RCP<
const VectorSpaceBase<Scalar> > rangeSpace = Teuchos::null,
116 const RCP<
const VectorSpaceBase<Scalar> > domainSpace = Teuchos::null
140 template <class Scalar = Tpetra::Vector<>::scalar_type,
194 #endif // THYRA_TPETRA_THYRA_WRAPPERS_DECL_HPP
Teuchos::RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > createMultiVector(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, const size_t numVectors)
RCP< const MultiVectorBase< Scalar > > createConstMultiVector(const RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraMultiVector, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
RCP< const VectorBase< Scalar > > createConstVector(const RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraVector, const RCP< const VectorSpaceBase< Scalar > > space=Teuchos::null)
Abstract interface for objects that represent a space for vectors.
GlobalOrdinal global_ordinal_type
RCP< const LinearOpBase< Scalar > > createConstLinearOp(const RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)
Interface for a collection of column vectors called a multi-vector.
Teuchos::RCP< Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > createVector(const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map)
Abstract interface for finite-dimensional dense vectors.
LocalOrdinal local_ordinal_type
RCP< const VectorSpaceBase< Scalar > > createVectorSpace(const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &tpetraMap)
Create a Thyra::VectorSpaceBase object given a Tpetra::Map.
RCP< const Teuchos::Comm< Ordinal > > convertTpetraToThyraComm(const RCP< const Teuchos::Comm< int > > &tpetraComm)
Given an Tpetra Teuchos::Comm<int> object, return an equivalent Teuchos::Comm<Ordinal> object...
Base class for all linear operators.
RCP< LinearOpBase< Scalar > > createLinearOp(const RCP< Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &tpetraOperator, const RCP< const VectorSpaceBase< Scalar > > rangeSpace=Teuchos::null, const RCP< const VectorSpaceBase< Scalar > > domainSpace=Teuchos::null)