Mat_dh.h File Reference

#include "euclid_common.h"
Include dependency graph for Mat_dh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _mat_dh

Defines

#define MAT_DH_BINS   10
#define MATVEC_TIME   0
#define MATVEC_MPI_TIME   1
#define MATVEC_MPI_TIME2   5
#define MATVEC_TOTAL_TIME   2
#define MATVEC_RATIO   3
#define MATVEC_WORDS   4

Functions

void Mat_dhCreate (Mat_dh *mat)
void Mat_dhDestroy (Mat_dh mat)
void Mat_dhTranspose (Mat_dh matIN, Mat_dh *matOUT)
void Mat_dhMakeStructurallySymmetric (Mat_dh A)
void Mat_dhMatVecSetup (Mat_dh mat)
void Mat_dhMatVecSetdown (Mat_dh mat)
void Mat_dhMatVec (Mat_dh mat, double *lhs, double *rhs)
void Mat_dhMatVec_omp (Mat_dh mat, double *lhs, double *rhs)
void Mat_dhMatVec_uni (Mat_dh mat, double *lhs, double *rhs)
void Mat_dhMatVec_uni_omp (Mat_dh mat, double *lhs, double *rhs)
int Mat_dhReadNz (Mat_dh mat)
void Mat_dhPrintGraph (Mat_dh mat, SubdomainGraph_dh sg, FILE *fp)
void Mat_dhPrintRows (Mat_dh mat, SubdomainGraph_dh sg, FILE *fp)
void Mat_dhPrintCSR (Mat_dh mat, SubdomainGraph_dh sg, char *filename)
void Mat_dhPrintTriples (Mat_dh mat, SubdomainGraph_dh sg, char *filename)
void Mat_dhPrintBIN (Mat_dh mat, SubdomainGraph_dh sg, char *filename)
void Mat_dhReadCSR (Mat_dh *mat, char *filename)
void Mat_dhReadTriples (Mat_dh *mat, int ignore, char *filename)
void Mat_dhReadBIN (Mat_dh *mat, char *filename)
void Mat_dhPermute (Mat_dh Ain, int *pIN, Mat_dh *Bout)
void Mat_dhFixDiags (Mat_dh A)
void Mat_dhPrintDiags (Mat_dh A, FILE *fp)
void Mat_dhGetRow (Mat_dh B, int globalRow, int *len, int **ind, double **val)
void Mat_dhRestoreRow (Mat_dh B, int row, int *len, int **ind, double **val)
void Mat_dhPartition (Mat_dh mat, int k, int **beg_rowOUT, int **row_countOUT, int **n2oOUT, int **o2nOUT)
void Mat_dhZeroTiming (Mat_dh mat)
void Mat_dhReduceTiming (Mat_dh mat)
void Mat_dhRowPermute (Mat_dh)
void dldperm (int job, int n, int nnz, int colptr[], int adjncy[], double nzval[], int *perm, double u[], double v[])

Define Documentation

#define MAT_DH_BINS   10

Definition at line 36 of file Mat_dh.h.

#define MATVEC_TIME   0

Definition at line 37 of file Mat_dh.h.

#define MATVEC_MPI_TIME   1

Definition at line 38 of file Mat_dh.h.

#define MATVEC_MPI_TIME2   5

Definition at line 39 of file Mat_dh.h.

#define MATVEC_TOTAL_TIME   2

Definition at line 40 of file Mat_dh.h.

#define MATVEC_RATIO   3

Definition at line 41 of file Mat_dh.h.

#define MATVEC_WORDS   4

Definition at line 42 of file Mat_dh.h.


Function Documentation

void Mat_dhCreate ( Mat_dh mat  ) 

Definition at line 60 of file Mat_dh.c.

void Mat_dhDestroy ( Mat_dh  mat  ) 

Definition at line 118 of file Mat_dh.c.

void Mat_dhTranspose ( Mat_dh  matIN,
Mat_dh matOUT 
)

Definition at line 1404 of file Mat_dh.c.

void Mat_dhMakeStructurallySymmetric ( Mat_dh  A  ) 

Definition at line 1425 of file Mat_dh.c.

void Mat_dhMatVecSetup ( Mat_dh  mat  ) 

Definition at line 236 of file Mat_dh.c.

void Mat_dhMatVecSetdown ( Mat_dh  mat  ) 

Definition at line 225 of file Mat_dh.c.

void Mat_dhMatVec ( Mat_dh  mat,
double *  lhs,
double *  rhs 
)

Definition at line 463 of file Mat_dh.c.

void Mat_dhMatVec_omp ( Mat_dh  mat,
double *  lhs,
double *  rhs 
)

Definition at line 551 of file Mat_dh.c.

void Mat_dhMatVec_uni ( Mat_dh  mat,
double *  lhs,
double *  rhs 
)

Definition at line 673 of file Mat_dh.c.

void Mat_dhMatVec_uni_omp ( Mat_dh  mat,
double *  lhs,
double *  rhs 
)

Definition at line 632 of file Mat_dh.c.

int Mat_dhReadNz ( Mat_dh  mat  ) 

Definition at line 710 of file Mat_dh.c.

void Mat_dhPrintGraph ( Mat_dh  mat,
SubdomainGraph_dh  sg,
FILE *  fp 
)

Definition at line 855 of file Mat_dh.c.

void Mat_dhPrintRows ( Mat_dh  mat,
SubdomainGraph_dh  sg,
FILE *  fp 
)

Definition at line 893 of file Mat_dh.c.

void Mat_dhPrintCSR ( Mat_dh  mat,
SubdomainGraph_dh  sg,
char *  filename 
)

Definition at line 1263 of file Mat_dh.c.

void Mat_dhPrintTriples ( Mat_dh  mat,
SubdomainGraph_dh  sg,
char *  filename 
)

Definition at line 1058 of file Mat_dh.c.

void Mat_dhPrintBIN ( Mat_dh  mat,
SubdomainGraph_dh  sg,
char *  filename 
)

Definition at line 1299 of file Mat_dh.c.

void Mat_dhReadCSR ( Mat_dh mat,
char *  filename 
)

Definition at line 1325 of file Mat_dh.c.

void Mat_dhReadTriples ( Mat_dh mat,
int  ignore,
char *  filename 
)

Definition at line 1353 of file Mat_dh.c.

void Mat_dhReadBIN ( Mat_dh mat,
char *  filename 
)

Definition at line 1384 of file Mat_dh.c.

void Mat_dhPermute ( Mat_dh  Ain,
int *  pIN,
Mat_dh Bout 
)

Definition at line 794 of file Mat_dh.c.

void Mat_dhFixDiags ( Mat_dh  A  ) 

Definition at line 1444 of file Mat_dh.c.

void Mat_dhPrintDiags ( Mat_dh  A,
FILE *  fp 
)

Definition at line 1552 of file Mat_dh.c.

void Mat_dhGetRow ( Mat_dh  B,
int  globalRow,
int *  len,
int **  ind,
double **  val 
)

Definition at line 1583 of file Mat_dh.c.

void Mat_dhRestoreRow ( Mat_dh  B,
int  row,
int *  len,
int **  ind,
double **  val 
)

Definition at line 1603 of file Mat_dh.c.

void Mat_dhPartition ( Mat_dh  mat,
int  k,
int **  beg_rowOUT,
int **  row_countOUT,
int **  n2oOUT,
int **  o2nOUT 
)

Definition at line 1781 of file Mat_dh.c.

void Mat_dhZeroTiming ( Mat_dh  mat  ) 

Definition at line 763 of file Mat_dh.c.

void Mat_dhReduceTiming ( Mat_dh  mat  ) 

Definition at line 778 of file Mat_dh.c.

void Mat_dhRowPermute ( Mat_dh   ) 

Definition at line 1610 of file Mat_dh.c.

void dldperm ( int  job,
int  n,
int  nnz,
int  colptr[],
int  adjncy[],
double  nzval[],
int *  perm,
double  u[],
double  v[] 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:05:39 2011 for Ifpack Package Browser (Single Doxygen Collection) by  doxygen 1.6.3