EpetraExt_MatrixMatrix.cpp File Reference

#include <EpetraExt_ConfigDefs.h>
#include <EpetraExt_MatrixMatrix.h>
#include <EpetraExt_Transpose_RowMatrix.h>
#include <Epetra_Export.h>
#include <Epetra_Import.h>
#include <Epetra_Util.h>
#include <Epetra_Map.h>
#include <Epetra_Comm.h>
#include <Epetra_CrsMatrix.h>
#include <Epetra_Directory.h>
#include <Epetra_HashTable.h>
#include <Epetra_Distributor.h>

Include dependency graph for EpetraExt_MatrixMatrix.cpp:

Go to the source code of this file.

Namespaces

namespace  EpetraExt

Classes

class  EpetraExt::CrsMatrixStruct

Functions

double sparsedot (double *u, int *u_ind, int u_len, double *v, int *v_ind, int v_len)
 Method for internal use...
int dumpCrsMatrixStruct (const CrsMatrixStruct &M)
int mult_A_B (CrsMatrixStruct &Aview, CrsMatrixStruct &Bview, Epetra_CrsMatrix &C)
int mult_A_Btrans (CrsMatrixStruct &Aview, CrsMatrixStruct &Bview, Epetra_CrsMatrix &C)
int mult_Atrans_B (CrsMatrixStruct &Aview, CrsMatrixStruct &Bview, Epetra_CrsMatrix &C)
int mult_Atrans_Btrans (CrsMatrixStruct &Aview, CrsMatrixStruct &Bview, Epetra_CrsMatrix &C)
int import_and_extract_views (const Epetra_CrsMatrix &M, const Epetra_Map &targetMap, CrsMatrixStruct &Mview)
int distribute_list (const Epetra_Comm &Comm, int lenSendList, const int *sendList, int &maxSendLen, int *&recvList)
Epetra_Mapcreate_map_from_imported_rows (const Epetra_Map *map, int totalNumSend, int *sendRows, int numProcs, int *numSendPerProc)
int form_map_union (const Epetra_Map *map1, const Epetra_Map *map2, const Epetra_Map *&mapunion)
Epetra_Mapfind_rows_containing_cols (const Epetra_CrsMatrix &M, const Epetra_Map *colmap)


Function Documentation

double EpetraExt::sparsedot double *  u,
int *  u_ind,
int  u_len,
double *  v,
int *  v_ind,
int  v_len
 

Method for internal use...

sparsedot forms a dot-product between two sparsely-populated 'vectors'. Important assumption: assumes the indices in u_ind and v_ind are sorted.

Definition at line 55 of file EpetraExt_MatrixMatrix.cpp.

int dumpCrsMatrixStruct const CrsMatrixStruct &  M  ) 
 

Definition at line 122 of file EpetraExt_MatrixMatrix.cpp.

int mult_A_B CrsMatrixStruct &  Aview,
CrsMatrixStruct &  Bview,
Epetra_CrsMatrix C
 

Definition at line 142 of file EpetraExt_MatrixMatrix.cpp.

int mult_A_Btrans CrsMatrixStruct &  Aview,
CrsMatrixStruct &  Bview,
Epetra_CrsMatrix C
 

Definition at line 254 of file EpetraExt_MatrixMatrix.cpp.

int mult_Atrans_B CrsMatrixStruct &  Aview,
CrsMatrixStruct &  Bview,
Epetra_CrsMatrix C
 

Definition at line 452 of file EpetraExt_MatrixMatrix.cpp.

int mult_Atrans_Btrans CrsMatrixStruct &  Aview,
CrsMatrixStruct &  Bview,
Epetra_CrsMatrix C
 

Definition at line 587 of file EpetraExt_MatrixMatrix.cpp.

int import_and_extract_views const Epetra_CrsMatrix M,
const Epetra_Map targetMap,
CrsMatrixStruct &  Mview
 

Definition at line 765 of file EpetraExt_MatrixMatrix.cpp.

int distribute_list const Epetra_Comm Comm,
int  lenSendList,
const int *  sendList,
int &  maxSendLen,
int *&  recvList
 

Definition at line 880 of file EpetraExt_MatrixMatrix.cpp.

Epetra_Map* create_map_from_imported_rows const Epetra_Map map,
int  totalNumSend,
int *  sendRows,
int  numProcs,
int *  numSendPerProc
 

Definition at line 901 of file EpetraExt_MatrixMatrix.cpp.

int form_map_union const Epetra_Map map1,
const Epetra_Map map2,
const Epetra_Map *&  mapunion
 

Definition at line 949 of file EpetraExt_MatrixMatrix.cpp.

Epetra_Map* find_rows_containing_cols const Epetra_CrsMatrix M,
const Epetra_Map colmap
 

Definition at line 1010 of file EpetraExt_MatrixMatrix.cpp.


Generated on Thu Sep 18 12:31:45 2008 for EpetraExt by doxygen 1.3.9.1