Mat_dh.c File Reference

#include "Mat_dh.h"
#include "getRow_dh.h"
#include "SubdomainGraph_dh.h"
#include "TimeLog_dh.h"
#include "Mem_dh.h"
#include "Numbering_dh.h"
#include "Parser_dh.h"
#include "mat_dh_private.h"
#include "io_dh.h"
#include "Hash_i_dh.h"
Include dependency graph for Mat_dh.c:

Go to the source code of this file.

Defines

#define __FUNC__   "Mat_dhCreate"
#define __FUNC__   "Mat_dhDestroy"
#define __FUNC__   "Mat_dhMatVecSetDown"
#define __FUNC__   "Mat_dhMatVecSetup"
#define __FUNC__   "setup_matvec_receives_private"
#define __FUNC__   "setup_matvec_sends_private"
#define __FUNC__   "Mat_dhMatVec"
#define __FUNC__   "Mat_dhMatVec_omp"
#define __FUNC__   "Mat_dhMatVec_uni_omp"
#define __FUNC__   "Mat_dhMatVec_uni"
#define __FUNC__   "Mat_dhReadNz"
#define __FUNC__   "Mat_dhZeroTiming"
#define __FUNC__   "Mat_dhReduceTiming"
#define __FUNC__   "Mat_dhPermute"
#define __FUNC__   "Mat_dhPrintGraph"
#define __FUNC__   "Mat_dhPrintRows"
#define __FUNC__   "Mat_dhPrintTriples"
#define __FUNC__   "Mat_dhPrintCSR"
#define __FUNC__   "Mat_dhPrintBIN"
#define __FUNC__   "Mat_dhReadCSR"
#define __FUNC__   "Mat_dhReadTriples"
#define __FUNC__   "Mat_dhReadBIN"
#define __FUNC__   "Mat_dhTranspose"
#define __FUNC__   "Mat_dhMakeStructurallySymmetric"
#define __FUNC__   "Mat_dhFixDiags"
#define __FUNC__   "insert_diags_private"
#define __FUNC__   "Mat_dhPrintDiags"
#define __FUNC__   "Mat_dhGetRow"
#define __FUNC__   "Mat_dhRestoreRow"
#define __FUNC__   "Mat_dhRowPermute"
#define __FUNC__   "Mat_dhPartition"
#define __FUNC__   "Mat_dhPartition"

Functions

static void setup_matvec_sends_private (Mat_dh mat, int *inlist)
static void setup_matvec_receives_private (Mat_dh mat, int *beg_rows, int *end_rows, int reqlen, int *reqind, int *outlist)
void Mat_dhCreate (Mat_dh *mat)
void Mat_dhDestroy (Mat_dh mat)
void Mat_dhMatVecSetdown (Mat_dh mat)
void Mat_dhMatVecSetup (Mat_dh mat)
void Mat_dhMatVec (Mat_dh mat, double *x, double *b)
void Mat_dhMatVec_omp (Mat_dh mat, double *x, double *b)
void Mat_dhMatVec_uni_omp (Mat_dh mat, double *x, double *b)
void Mat_dhMatVec_uni (Mat_dh mat, double *x, double *b)
int Mat_dhReadNz (Mat_dh mat)
void Mat_dhZeroTiming (Mat_dh mat)
void Mat_dhReduceTiming (Mat_dh mat)
void Mat_dhPermute (Mat_dh A, int *n2o, Mat_dh *Bout)
void Mat_dhPrintGraph (Mat_dh A, SubdomainGraph_dh sg, FILE *fp)
void Mat_dhPrintRows (Mat_dh A, SubdomainGraph_dh sg, FILE *fp)
void Mat_dhPrintTriples (Mat_dh A, SubdomainGraph_dh sg, char *filename)
void Mat_dhPrintCSR (Mat_dh A, SubdomainGraph_dh sg, char *filename)
void Mat_dhPrintBIN (Mat_dh A, 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_dhTranspose (Mat_dh A, Mat_dh *Bout)
void Mat_dhMakeStructurallySymmetric (Mat_dh A)
void insert_diags_private (Mat_dh A, int ct)
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_dhRowPermute (Mat_dh mat)
void build_adj_lists_private (Mat_dh mat, int **rpOUT, int **cvalOUT)
void Mat_dhPartition (Mat_dh mat, int blocks, int **beg_rowOUT, int **row_countOUT, int **n2oOUT, int **o2nOUT)

Variables

static bool commsOnly = false

Define Documentation

#define __FUNC__   "Mat_dhCreate"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhDestroy"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVecSetDown"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVecSetup"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "setup_matvec_receives_private"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "setup_matvec_sends_private"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec_omp"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec_uni_omp"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec_uni"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadNz"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhZeroTiming"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReduceTiming"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPermute"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintGraph"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintRows"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintTriples"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintCSR"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintBIN"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadCSR"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadTriples"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadBIN"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhTranspose"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMakeStructurallySymmetric"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhFixDiags"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "insert_diags_private"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintDiags"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhGetRow"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhRestoreRow"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhRowPermute"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPartition"

Definition at line 1779 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPartition"

Definition at line 1779 of file Mat_dh.c.


Function Documentation

void setup_matvec_sends_private ( Mat_dh  mat,
int *  inlist 
) [static]

Definition at line 400 of file Mat_dh.c.

void setup_matvec_receives_private ( Mat_dh  mat,
int *  beg_rows,
int *  end_rows,
int  reqlen,
int *  reqind,
int *  outlist 
) [static]

Definition at line 347 of file Mat_dh.c.

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_dhMatVecSetdown ( Mat_dh  mat  ) 

Definition at line 225 of file Mat_dh.c.

void Mat_dhMatVecSetup ( Mat_dh  mat  ) 

Definition at line 236 of file Mat_dh.c.

void Mat_dhMatVec ( Mat_dh  mat,
double *  x,
double *  b 
)

Definition at line 463 of file Mat_dh.c.

void Mat_dhMatVec_omp ( Mat_dh  mat,
double *  x,
double *  b 
)

Definition at line 551 of file Mat_dh.c.

void Mat_dhMatVec_uni_omp ( Mat_dh  mat,
double *  x,
double *  b 
)

Definition at line 632 of file Mat_dh.c.

void Mat_dhMatVec_uni ( Mat_dh  mat,
double *  x,
double *  b 
)

Definition at line 673 of file Mat_dh.c.

int Mat_dhReadNz ( Mat_dh  mat  ) 

Definition at line 710 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_dhPermute ( Mat_dh  A,
int *  n2o,
Mat_dh Bout 
)

Definition at line 794 of file Mat_dh.c.

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

Definition at line 855 of file Mat_dh.c.

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

Definition at line 893 of file Mat_dh.c.

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

Definition at line 1058 of file Mat_dh.c.

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

Definition at line 1263 of file Mat_dh.c.

void Mat_dhPrintBIN ( Mat_dh  A,
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_dhTranspose ( Mat_dh  A,
Mat_dh Bout 
)

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 insert_diags_private ( Mat_dh  A,
int  ct 
)

Definition at line 1503 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_dhRowPermute ( Mat_dh  mat  ) 

Definition at line 1610 of file Mat_dh.c.

void build_adj_lists_private ( Mat_dh  mat,
int **  rpOUT,
int **  cvalOUT 
)

Definition at line 1749 of file Mat_dh.c.

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

Definition at line 1781 of file Mat_dh.c.


Variable Documentation

bool commsOnly = false [static]

Definition at line 56 of file Mat_dh.c.

 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