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_MatrixMatrix.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 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 = 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 95 of file Xpetra_MatrixMatrix.hpp.

Member Typedef Documentation

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

Definition at line 218 of file Xpetra_MatrixMatrix.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static RCP<const Epetra_CrsMatrix> Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2EpetraCrs ( RCP< Matrix Op)
inlinestatic

Definition at line 101 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static RCP<Epetra_CrsMatrix> Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstEpetraCrs ( RCP< Matrix Op)
inlinestatic

Definition at line 115 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static const Epetra_CrsMatrix& Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2EpetraCrs ( const Matrix Op)
inlinestatic

Definition at line 129 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static Epetra_CrsMatrix& Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstEpetraCrs ( const Matrix Op)
inlinestatic

Definition at line 145 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static RCP<const Tpetra::CrsMatrix<SC,LO,GO,NO> > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2TpetraCrs ( RCP< Matrix Op)
inlinestatic

Definition at line 163 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static RCP<Tpetra::CrsMatrix<SC,LO,GO,NO> > Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstTpetraCrs ( RCP< Matrix Op)
inlinestatic

Definition at line 175 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static const Tpetra::CrsMatrix<SC,LO,GO,NO>& Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2TpetraCrs ( const Matrix Op)
inlinestatic

Definition at line 186 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static Tpetra::CrsMatrix<SC,LO,GO,NO>& Xpetra::Helpers< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Op2NonConstTpetraCrs ( const Matrix Op)
inlinestatic

Definition at line 201 of file Xpetra_MatrixMatrix.hpp.

template<class Scalar , class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static Teuchos::RCP<Matrix> 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 
)
inlinestatic

Definition at line 219 of file Xpetra_MatrixMatrix.hpp.

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

Definition at line 283 of file Xpetra_MatrixMatrix.hpp.


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