src/matrix_matrix.cpp File Reference

#include <algorithm>
#include <vector>
#include <set>
#include "rlog/rlog.h"
#include "Epetra_Comm.h"
#include "Epetra_CrsMatrix.h"
#include "Epetra_FECrsMatrix.h"
#include "Epetra_Export.h"
#include "Epetra_Import.h"
#include "Epetra_Map.h"
#include "matrix_matrix.h"

Include dependency graph for matrix_matrix.cpp:

Go to the source code of this file.

Defines

#define USE_MM_COLMAP   1

Functions

int poor_man_matrix_matrix (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B, Epetra_CrsMatrix &C)
int poor_man_matrix_matrix_local (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B, Epetra_CrsMatrix &C)
int poor_man_matrix_matrix_graph (const Epetra_CrsGraph &A, const Epetra_CrsGraph &B, Epetra_CrsGraph &C)
int poor_man_matrix_matrix_local2 (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B, Epetra_CrsMatrix &C)
int transpose_matrix (const Epetra_CrsMatrix &A, Epetra_FECrsMatrix &T)


Define Documentation

#define USE_MM_COLMAP   1

Definition at line 25 of file matrix_matrix.cpp.


Function Documentation

int poor_man_matrix_matrix ( const Epetra_CrsMatrix &  A,
const Epetra_CrsMatrix &  B,
Epetra_CrsMatrix &  C 
)

Matrix-matrix multiplication: C:= A * B.

Definition at line 116 of file matrix_matrix.cpp.

References poor_man_matrix_matrix_local().

Referenced by QuadraticEigsolvOperators::matrixAssembly(), and LinearEigsolvOperators::matrixAssembly().

Here is the call graph for this function:

int poor_man_matrix_matrix_graph ( const Epetra_CrsGraph &  A,
const Epetra_CrsGraph &  B,
Epetra_CrsGraph &  C 
)

Compute graph of C := A * B.

Definition at line 217 of file matrix_matrix.cpp.

int poor_man_matrix_matrix_local ( const Epetra_CrsMatrix &  A,
const Epetra_CrsMatrix &  B,
Epetra_CrsMatrix &  C 
)

Matrix-matrix multiplication: C:= A * B. Produces correct results only if no off-processor rows of B are needed.

Definition at line 180 of file matrix_matrix.cpp.

Referenced by poor_man_matrix_matrix().

int poor_man_matrix_matrix_local2 ( const Epetra_CrsMatrix &  A,
const Epetra_CrsMatrix &  B,
Epetra_CrsMatrix &  C 
)

Matrix-matrix multiplication: C:= A * B. Note: This function assumes that the non-zero entries of C already exist. Note: Produces correct results only if no off-processor rows of B are needed.

Definition at line 253 of file matrix_matrix.cpp.

int transpose_matrix ( const Epetra_CrsMatrix &  A,
Epetra_FECrsMatrix &  T 
)

Transpose matrix.

Builds an explicit transpose T of matrix A.

Definition at line 298 of file matrix_matrix.cpp.


Generated on Fri Oct 26 13:35:14 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7