Ifpack Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
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.

Macros

#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
 

Macro Definition Documentation

#define __FUNC__   "Mat_dhCreate"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhDestroy"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVecSetDown"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVecSetup"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "setup_matvec_receives_private"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "setup_matvec_sends_private"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec_omp"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec_uni_omp"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMatVec_uni"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadNz"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhZeroTiming"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReduceTiming"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPermute"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintGraph"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintRows"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintTriples"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintCSR"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintBIN"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadCSR"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadTriples"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhReadBIN"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhTranspose"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhMakeStructurallySymmetric"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhFixDiags"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "insert_diags_private"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPrintDiags"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhGetRow"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhRestoreRow"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhRowPermute"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPartition"

Definition at line 1792 of file Mat_dh.c.

#define __FUNC__   "Mat_dhPartition"

Definition at line 1792 of file Mat_dh.c.

Function Documentation

void setup_matvec_sends_private ( Mat_dh  mat,
int *  inlist 
)
static

Definition at line 413 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 360 of file Mat_dh.c.

void Mat_dhCreate ( Mat_dh mat)

Definition at line 73 of file Mat_dh.c.

void Mat_dhDestroy ( Mat_dh  mat)

Definition at line 131 of file Mat_dh.c.

void Mat_dhMatVecSetdown ( Mat_dh  mat)

Definition at line 238 of file Mat_dh.c.

void Mat_dhMatVecSetup ( Mat_dh  mat)

Definition at line 249 of file Mat_dh.c.

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

Definition at line 476 of file Mat_dh.c.

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

Definition at line 564 of file Mat_dh.c.

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

Definition at line 645 of file Mat_dh.c.

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

Definition at line 686 of file Mat_dh.c.

int Mat_dhReadNz ( Mat_dh  mat)

Definition at line 723 of file Mat_dh.c.

void Mat_dhZeroTiming ( Mat_dh  mat)

Definition at line 776 of file Mat_dh.c.

void Mat_dhReduceTiming ( Mat_dh  mat)

Definition at line 791 of file Mat_dh.c.

void Mat_dhPermute ( Mat_dh  A,
int *  n2o,
Mat_dh Bout 
)

Definition at line 807 of file Mat_dh.c.

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

Definition at line 868 of file Mat_dh.c.

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

Definition at line 906 of file Mat_dh.c.

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

Definition at line 1071 of file Mat_dh.c.

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

Definition at line 1276 of file Mat_dh.c.

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

Definition at line 1312 of file Mat_dh.c.

void Mat_dhReadCSR ( Mat_dh mat,
char *  filename 
)

Definition at line 1338 of file Mat_dh.c.

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

Definition at line 1366 of file Mat_dh.c.

void Mat_dhReadBIN ( Mat_dh mat,
char *  filename 
)

Definition at line 1397 of file Mat_dh.c.

void Mat_dhTranspose ( Mat_dh  A,
Mat_dh Bout 
)

Definition at line 1417 of file Mat_dh.c.

void Mat_dhMakeStructurallySymmetric ( Mat_dh  A)

Definition at line 1438 of file Mat_dh.c.

void insert_diags_private ( Mat_dh  A,
int  ct 
)

Definition at line 1516 of file Mat_dh.c.

void Mat_dhFixDiags ( Mat_dh  A)

Definition at line 1457 of file Mat_dh.c.

void Mat_dhPrintDiags ( Mat_dh  A,
FILE *  fp 
)

Definition at line 1565 of file Mat_dh.c.

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

Definition at line 1596 of file Mat_dh.c.

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

Definition at line 1616 of file Mat_dh.c.

void Mat_dhRowPermute ( Mat_dh  mat)

Definition at line 1623 of file Mat_dh.c.

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

Definition at line 1762 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 1794 of file Mat_dh.c.

Variable Documentation

bool commsOnly = false
static

Definition at line 69 of file Mat_dh.c.