Tpetra Matrix/Vector Services Version of the Day
Namespaces | Functions
TpetraExt_MatrixMatrix_def.hpp File Reference
#include "TpetraExt_MatrixMatrix_decl.hpp"
#include "Teuchos_VerboseObject.hpp"
#include "Teuchos_Array.hpp"
#include "Tpetra_Util.hpp"
#include "Tpetra_ConfigDefs.hpp"
#include "Tpetra_CrsMatrix.hpp"
#include "TpetraExt_MMHelpers_def.hpp"
#include "Tpetra_RowMatrixTransposer.hpp"
#include "Tpetra_Map.hpp"
#include "Tpetra_Import_Util.hpp"
#include "Tpetra_Import_Util2.hpp"
#include <algorithm>
#include "Teuchos_FancyOStream.hpp"

Go to the source code of this file.

Namespaces

namespace  Tpetra
 

Namespace Tpetra contains the class and methods constituting the Tpetra library.


namespace  Tpetra::MatrixMatrix
 

Distributed sparse matrix-matrix multiply and add.


Functions

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class SpMatOps >
void Tpetra::MatrixMatrix::Multiply (const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &A, bool transposeA, const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &B, bool transposeB, CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &C, bool call_FillComplete_on_result=true)
 Sparse matrix-matrix multiply.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class SpMatOps >
void Tpetra::MatrixMatrix::Jacobi (Scalar omega, const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Dinv, const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &A, const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &B, CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &C, bool call_FillComplete_on_result=true)
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class SpMatOps >
void Tpetra::MatrixMatrix::Add (const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &A, bool transposeA, Scalar scalarA, CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &B, Scalar scalarB)
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class SpMatOps >
Teuchos::RCP< CrsMatrix
< Scalar, LocalOrdinal,
GlobalOrdinal, Node, SpMatOps > > 
Tpetra::MatrixMatrix::add (const Scalar &alpha, const bool transposeA, const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &A, const Scalar &beta, const bool transposeB, const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &B, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap=Teuchos::null, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Compute the sparse matrix sum C = scalarA * Op(A) + scalarB * Op(B), where Op(X) is either X or its transpose.
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class SpMatOps >
void Tpetra::MatrixMatrix::Add (const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &A, bool transposeA, Scalar scalarA, const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > &B, bool transposeB, Scalar scalarB, RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node, SpMatOps > > C)
 Compute the sparse matrix sum C = scalarA * Op(A) + scalarB * Op(B), where Op(X) is either X or its transpose.

Detailed Description

The implementations for the members of class Tpetra::MatrixMatrixMultiply and related non-member constructors.

Definition in file TpetraExt_MatrixMatrix_def.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines