Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode > Class Reference

#include <Xpetra_TripleMatrixMultiply.hpp>

Static Public Member Functions

static void MultiplyRAP (const Matrix &R, bool transposeR, const Matrix &A, bool transposeA, const Matrix &P, bool transposeP, Matrix &Ac, bool call_FillComplete_on_result=true, bool doOptimizeStorage=true, const std::string &label=std::string(), const RCP< ParameterList > &params=null)
 
static void MultiplyRAP (const Matrix &R, bool transposeR, const Matrix &A, bool transposeA, const Matrix &P, bool transposeP, Matrix &Ac, bool call_FillComplete_on_result=true, bool doOptimizeStorage=true, const std::string &label=std::string(), const RCP< ParameterList > &params=null)
 

Private Types

typedef double Scalar
 
typedef int LocalOrdinal
 
typedef long long GlobalOrdinal
 
typedef EpetraNode Node
 

Detailed Description

Definition at line 354 of file Xpetra_TripleMatrixMultiply.hpp.

Member Typedef Documentation

◆ Scalar

typedef double Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode >::Scalar
private

Definition at line 355 of file Xpetra_TripleMatrixMultiply.hpp.

◆ LocalOrdinal

typedef int Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode >::LocalOrdinal
private

Definition at line 356 of file Xpetra_TripleMatrixMultiply.hpp.

◆ GlobalOrdinal

typedef long long Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode >::GlobalOrdinal
private

Definition at line 357 of file Xpetra_TripleMatrixMultiply.hpp.

◆ Node

typedef EpetraNode Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode >::Node
private

Definition at line 358 of file Xpetra_TripleMatrixMultiply.hpp.

Member Function Documentation

◆ MultiplyRAP() [1/2]

static void Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode >::MultiplyRAP ( const Matrix & R,
bool transposeR,
const Matrix & A,
bool transposeA,
const Matrix & P,
bool transposeP,
Matrix & Ac,
bool call_FillComplete_on_result = true,
bool doOptimizeStorage = true,
const std::string & label = std::string(),
const RCP< ParameterList > & params = null )
inlinestatic

Definition at line 363 of file Xpetra_TripleMatrixMultiply.hpp.

◆ MultiplyRAP() [2/2]

static void Xpetra::TripleMatrixMultiply< double, int, long long, EpetraNode >::MultiplyRAP ( const Matrix & R,
bool transposeR,
const Matrix & A,
bool transposeA,
const Matrix & P,
bool transposeP,
Matrix & Ac,
bool call_FillComplete_on_result = true,
bool doOptimizeStorage = true,
const std::string & label = std::string(),
const RCP< ParameterList > & params = null )
inlinestatic

Given CrsMatrix objects A, B and C, form the product C = A*B. In a parallel setting, A and B need not have matching distributions, but C needs to have the same row-map as A (if transposeA is false). At this time C=AT*B and C=A*BT are known to not work. However, C=A*B and C=AT*BT are known to work, Kurtis Nusbaum 03/24/2011

Parameters
AInput, must already have had 'FillComplete()' called.
transposeAInput, whether to use transpose of matrix A.
BInput, must already have had 'FillComplete()' called.
transposeBInput, whether to use transpose of matrix B.
CResult. On entry to this method, it doesn't matter whether FillComplete() has already been called on C or not. If it has, then C's graph must already contain all nonzero locations that will be produced when forming the product A*B. On exit, C.FillComplete() will have been called, unless the last argument to this function is specified to be false.
call_FillComplete_on_resultOptional argument, defaults to true. Power users may specify this argument to be false if they DON'T want this function to call C.FillComplete. (It is often useful to allow this function to call C.FillComplete, in cases where one or both of the input matrices are rectangular and it is not trivial to know which maps to use for the domain- and range-maps.)

Definition at line 108 of file Xpetra_TripleMatrixMultiply.hpp.


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