Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Xpetra utility class containing transformation routines between Xpetra::Matrix and Epetra/Tpetra objects. More...

#include <Xpetra_Helpers_decl.hpp>

Public Types

using tcrs_matrix_type = Tpetra::CrsMatrix< SC, LO, GO, NO >
 

Static Public Member Functions

static RCP< const
Epetra_CrsMatrix > 
Op2EpetraCrs (RCP< Matrix > Op)
 
static RCP< Epetra_CrsMatrix > Op2NonConstEpetraCrs (RCP< Matrix > Op)
 
static const Epetra_CrsMatrix & Op2EpetraCrs (const Matrix &Op)
 
static Epetra_CrsMatrix & Op2NonConstEpetraCrs (const Matrix &Op)
 
static RCP< const
Tpetra::CrsMatrix< SC, LO, GO,
NO > > 
Op2TpetraCrs (RCP< Matrix > Op)
 
static RCP< Tpetra::CrsMatrix
< SC, LO, GO, NO > > 
Op2NonConstTpetraCrs (RCP< Matrix > Op)
 
static const Tpetra::CrsMatrix
< SC, LO, GO, NO > & 
Op2TpetraCrs (const Matrix &Op)
 
static Tpetra::CrsMatrix< SC,
LO, GO, NO > & 
Op2NonConstTpetraCrs (const Matrix &Op)
 
static bool isTpetraCrs (RCP< Matrix > Op)
 
static bool isTpetraCrs (const Matrix &Op)
 
static RCP< const
Tpetra::BlockCrsMatrix< SC, LO,
GO, NO > > 
Op2TpetraBlockCrs (RCP< Matrix > Op)
 
static RCP
< Tpetra::BlockCrsMatrix< SC,
LO, GO, NO > > 
Op2NonConstTpetraBlockCrs (RCP< Matrix > Op)
 
static const
Tpetra::BlockCrsMatrix< SC, LO,
GO, NO > & 
Op2TpetraBlockCrs (const Matrix &Op)
 
static Tpetra::BlockCrsMatrix
< SC, LO, GO, NO > & 
Op2NonConstTpetraBlockCrs (const Matrix &Op)
 
static bool isTpetraBlockCrs (RCP< Matrix > Op)
 
static bool isTpetraBlockCrs (const Matrix &Op)
 
static Teuchos::RCP< MatrixtpetraAdd (const tcrs_matrix_type &A, bool transposeA, const typename tcrs_matrix_type::scalar_type alpha, const tcrs_matrix_type &B, bool transposeB, const typename tcrs_matrix_type::scalar_type beta)
 
static void epetraExtMult (const Matrix &A, bool transposeA, const Matrix &B, bool transposeB, Matrix &C, bool fillCompleteResult)
 

Detailed Description

template<class Scalar, class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Xpetra utility class containing transformation routines between Xpetra::Matrix and Epetra/Tpetra objects.

Note: this class is not in the Xpetra_UseShortNames.hpp

Definition at line 56 of file Xpetra_Helpers_decl.hpp.

Member Typedef Documentation

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
using Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tcrs_matrix_type = Tpetra::CrsMatrix<SC, LO, GO, NO>

Definition at line 102 of file Xpetra_Helpers_decl.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Epetra_CrsMatrix > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2EpetraCrs ( RCP< Matrix Op)
static

Definition at line 19 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Epetra_CrsMatrix > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstEpetraCrs ( RCP< Matrix Op)
static

Definition at line 34 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Epetra_CrsMatrix & Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2EpetraCrs ( const Matrix Op)
static

Definition at line 49 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Epetra_CrsMatrix & Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstEpetraCrs ( const Matrix Op)
static

Definition at line 66 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2TpetraCrs ( RCP< Matrix Op)
static

Definition at line 85 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstTpetraCrs ( RCP< Matrix Op)
static

Definition at line 98 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2TpetraCrs ( const Matrix Op)
static

Definition at line 110 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstTpetraCrs ( const Matrix Op)
static

Definition at line 126 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::isTpetraCrs ( RCP< Matrix Op)
static

Definition at line 142 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::isTpetraCrs ( const Matrix Op)
static

Definition at line 154 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2TpetraBlockCrs ( RCP< Matrix Op)
static

Definition at line 169 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstTpetraBlockCrs ( RCP< Matrix Op)
static

Definition at line 180 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
const Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2TpetraBlockCrs ( const Matrix Op)
static

Definition at line 191 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstTpetraBlockCrs ( const Matrix Op)
static

Definition at line 204 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::isTpetraBlockCrs ( RCP< Matrix Op)
static

Definition at line 217 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::isTpetraBlockCrs ( const Matrix Op)
static

Definition at line 229 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::tpetraAdd ( const tcrs_matrix_type A,
bool  transposeA,
const typename tcrs_matrix_type::scalar_type  alpha,
const tcrs_matrix_type B,
bool  transposeB,
const typename tcrs_matrix_type::scalar_type  beta 
)
static

Definition at line 257 of file Xpetra_Helpers_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::epetraExtMult ( const Matrix A,
bool  transposeA,
const Matrix B,
bool  transposeB,
Matrix C,
bool  fillCompleteResult 
)
static

Definition at line 316 of file Xpetra_Helpers_def.hpp.


The documentation for this class was generated from the following files: