Thyra Package Browser (Single Doxygen Collection)
Version of the Day
|
Traits class that enables the extraction of Tpetra operator/vector objects wrapped in Thyra operator/vector objects. More...
#include <Thyra_TpetraThyraWrappers_decl.hpp>
Static Public Member Functions | |
static RCP< const Tpetra::Map < LocalOrdinal, GlobalOrdinal, Node > > | getTpetraMap (const RCP< const VectorSpaceBase< Scalar > > &vs) |
Get a const Tpetra::Map from a const Thyra::VectorSpaceBase object. More... | |
static RCP< Tpetra::Vector < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraVector (const RCP< VectorBase< Scalar > > &v) |
Get a non-const Tpetra::Vector from a non-const Thyra::VectorBase object. More... | |
static RCP< const Tpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraVector (const RCP< const VectorBase< Scalar > > &v) |
Get a const Tpetra::Vector from a const Thyra::VectorBase object. More... | |
static RCP < Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraMultiVector (const RCP< MultiVectorBase< Scalar > > &mv) |
Get a non-const Tpetra::MultiVector from a non-const Thyra::MultiVectorBase object. More... | |
static RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraMultiVector (const RCP< const MultiVectorBase< Scalar > > &mv) |
Get a const Tpetra::MultiVector from a const Thyra::MultiVectorBase object. More... | |
static RCP< Tpetra::Operator < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getTpetraOperator (const RCP< LinearOpBase< Scalar > > &op) |
Get a non-const Tpetra::Operator from a non-const Thyra::LinearOpBase object. More... | |
static RCP< const Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getConstTpetraOperator (const RCP< const LinearOpBase< Scalar > > &op) |
Get a const Tpetra::Operator from a const Thyra::LinearOpBase object. More... | |
Traits class that enables the extraction of Tpetra operator/vector objects wrapped in Thyra operator/vector objects.
Example usage:
Definition at line 144 of file Thyra_TpetraThyraWrappers_decl.hpp.
|
static |
Get a const Tpetra::Map from a const Thyra::VectorSpaceBase object.
Definition at line 189 of file Thyra_TpetraThyraWrappers_def.hpp.
|
static |
Get a non-const Tpetra::Vector from a non-const Thyra::VectorBase object.
Definition at line 199 of file Thyra_TpetraThyraWrappers_def.hpp.
Referenced by Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getRowStatImpl().
|
static |
Get a const Tpetra::Vector from a const Thyra::VectorBase object.
Definition at line 209 of file Thyra_TpetraThyraWrappers_def.hpp.
Referenced by Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::scaleLeftImpl(), and Thyra::TpetraLinearOp< Scalar, LocalOrdinal, GlobalOrdinal, Node >::scaleRightImpl().
|
static |
Get a non-const Tpetra::MultiVector from a non-const Thyra::MultiVectorBase object.
Definition at line 219 of file Thyra_TpetraThyraWrappers_def.hpp.
References nonnull(), Teuchos::null, TEUCHOS_ASSERT, TEUCHOS_TEST_FOR_EXCEPTION, and TEUCHOS_UNREACHABLE_RETURN.
|
static |
Get a const Tpetra::MultiVector from a const Thyra::MultiVectorBase object.
Definition at line 256 of file Thyra_TpetraThyraWrappers_def.hpp.
References nonnull(), Teuchos::null, TEUCHOS_ASSERT, TEUCHOS_TEST_FOR_EXCEPTION, and TEUCHOS_UNREACHABLE_RETURN.
|
static |
Get a non-const Tpetra::Operator from a non-const Thyra::LinearOpBase object.
Definition at line 293 of file Thyra_TpetraThyraWrappers_def.hpp.
|
static |
Get a const Tpetra::Operator from a const Thyra::LinearOpBase object.
Definition at line 303 of file Thyra_TpetraThyraWrappers_def.hpp.