mat_dh_private.c File Reference

#include "mat_dh_private.h"
#include "Parser_dh.h"
#include "Hash_i_dh.h"
#include "Mat_dh.h"
#include "Mem_dh.h"
#include "Vec_dh.h"
Include dependency graph for mat_dh_private.c:

Go to the source code of this file.

Defines

#define IS_UPPER_TRI   97
#define IS_LOWER_TRI   98
#define IS_FULL   99
#define __FUNC__   "mat_dh_print_graph_private"
#define __FUNC__   "create_nat_ordering_private"
#define __FUNC__   "destroy_nat_ordering_private"
#define __FUNC__   "invert_perm"
#define __FUNC__   "mat_dh_print_csr_private"
#define __FUNC__   "mat_dh_read_csr_private"
#define MAX_JUNK   200
#define __FUNC__   "mat_dh_read_triples_private"
#define __FUNC__   "convert_triples_to_scr_private"
#define __FUNC__   "readMat"
#define __FUNC__   "fix_diags_private"
#define __FUNC__   "insert_missing_diags_private"
#define __FUNC__   "readVec"
#define __FUNC__   "writeMat"
#define __FUNC__   "writeVec"
#define __FUNC__   "isTriangular"
#define __FUNC__   "mat_dh_transpose_reuse_private"
#define __FUNC__   "mat_dh_transpose_private"
#define __FUNC__   "mat_dh_transpose_private_private"
#define __FUNC__   "mat_find_owner"
#define AVAL_TAG   2
#define CVAL_TAG   3
#define __FUNC__   "readMat_par"
#define __FUNC__   "partition_and_distribute_metis_private"
#define __FUNC__   "partition_and_distribute_private"
#define __FUNC__   "mat_par_read_allocate_private"
#define __FUNC__   "mat_partition_private"
#define __FUNC__   "make_full_private"
#define __FUNC__   "make_symmetric_private"
#define __FUNC__   "profileMat"

Functions

static int isTriangular (int m, int *rp, int *cval)
static void mat_par_read_allocate_private (Mat_dh *Aout, int n, int *rowLengths, int *rowToBlock)
void mat_partition_private (Mat_dh A, int blocks, int *o2n_row, int *rowToBlock)
static void convert_triples_to_scr_private (int m, int nz, int *I, int *J, double *A, int *rp, int *cval, double *aval)
void mat_dh_print_graph_private (int m, int beg_row, int *rp, int *cval, double *aval, int *n2o, int *o2n, Hash_i_dh hash, FILE *fp)
void create_nat_ordering_private (int m, int **p)
void destroy_nat_ordering_private (int *p)
void invert_perm (int m, int *pIN, int *pOUT)
void mat_dh_print_csr_private (int m, int *rp, int *cval, double *aval, FILE *fp)
void mat_dh_read_csr_private (int *mOUT, int **rpOUT, int **cvalOUT, double **avalOUT, FILE *fp)
void mat_dh_read_triples_private (int ignore, int *mOUT, int **rpOUT, int **cvalOUT, double **avalOUT, FILE *fp)
void fix_diags_private (Mat_dh A)
void insert_missing_diags_private (Mat_dh A)
void readMat (Mat_dh *Aout, char *ft, char *fn, int ignore)
void readVec (Vec_dh *bout, char *ft, char *fn, int ignore)
void writeMat (Mat_dh Ain, char *ft, char *fn)
void writeVec (Vec_dh bin, char *ft, char *fn)
static void mat_dh_transpose_reuse_private_private (bool allocateMem, int m, int *rpIN, int *cvalIN, double *avalIN, int **rpOUT, int **cvalOUT, double **avalOUT)
void mat_dh_transpose_reuse_private (int m, int *rpIN, int *cvalIN, double *avalIN, int *rpOUT, int *cvalOUT, double *avalOUT)
void mat_dh_transpose_private (int m, int *RP, int **rpOUT, int *CVAL, int **cvalOUT, double *AVAL, double **avalOUT)
int mat_find_owner (int *beg_rows, int *end_rows, int index)
void partition_and_distribute_private (Mat_dh A, Mat_dh *Bout)
void partition_and_distribute_metis_private (Mat_dh A, Mat_dh *Bout)
void readMat_par (Mat_dh *Aout, char *fileType, char *fileName, int ignore)
void make_full_private (int m, int **rpIN, int **cvalIN, double **avalIN)
void make_symmetric_private (int m, int **rpIN, int **cvalIN, double **avalIN)
void profileMat (Mat_dh A)

Define Documentation

#define IS_UPPER_TRI   97

Definition at line 37 of file mat_dh_private.c.

#define IS_LOWER_TRI   98

Definition at line 38 of file mat_dh_private.c.

#define IS_FULL   99

Definition at line 39 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_print_graph_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "create_nat_ordering_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "destroy_nat_ordering_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "invert_perm"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_print_csr_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_read_csr_private"

Definition at line 1817 of file mat_dh_private.c.

#define MAX_JUNK   200

Definition at line 385 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_read_triples_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "convert_triples_to_scr_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "readMat"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "fix_diags_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "insert_missing_diags_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "readVec"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "writeMat"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "writeVec"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "isTriangular"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_transpose_reuse_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_transpose_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_transpose_private_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_find_owner"

Definition at line 1817 of file mat_dh_private.c.

#define AVAL_TAG   2

Definition at line 1075 of file mat_dh_private.c.

#define CVAL_TAG   3

Definition at line 1076 of file mat_dh_private.c.

#define __FUNC__   "readMat_par"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "partition_and_distribute_metis_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "partition_and_distribute_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_par_read_allocate_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "mat_partition_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "make_full_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "make_symmetric_private"

Definition at line 1817 of file mat_dh_private.c.

#define __FUNC__   "profileMat"

Definition at line 1817 of file mat_dh_private.c.


Function Documentation

int isTriangular ( int  m,
int *  rp,
int *  cval 
) [static]

Definition at line 889 of file mat_dh_private.c.

void mat_par_read_allocate_private ( Mat_dh Aout,
int  n,
int *  rowLengths,
int *  rowToBlock 
) [static]

Definition at line 1497 of file mat_dh_private.c.

void mat_partition_private ( Mat_dh  A,
int  blocks,
int *  o2n_row,
int *  rowToBlock 
)

Definition at line 1554 of file mat_dh_private.c.

void convert_triples_to_scr_private ( int  m,
int  nz,
int *  I,
int *  J,
double *  A,
int *  rp,
int *  cval,
double *  aval 
) [static]

Definition at line 542 of file mat_dh_private.c.

void mat_dh_print_graph_private ( int  m,
int  beg_row,
int *  rp,
int *  cval,
double *  aval,
int *  n2o,
int *  o2n,
Hash_i_dh  hash,
FILE *  fp 
)

Definition at line 152 of file mat_dh_private.c.

void create_nat_ordering_private ( int  m,
int **  p 
)

Definition at line 256 of file mat_dh_private.c.

void destroy_nat_ordering_private ( int *  p  ) 

Definition at line 271 of file mat_dh_private.c.

void invert_perm ( int  m,
int *  pIN,
int *  pOUT 
)

Definition at line 281 of file mat_dh_private.c.

void mat_dh_print_csr_private ( int  m,
int *  rp,
int *  cval,
double *  aval,
FILE *  fp 
)

Definition at line 295 of file mat_dh_private.c.

void mat_dh_read_csr_private ( int *  mOUT,
int **  rpOUT,
int **  cvalOUT,
double **  avalOUT,
FILE *  fp 
)

Definition at line 324 of file mat_dh_private.c.

void mat_dh_read_triples_private ( int  ignore,
int *  mOUT,
int **  rpOUT,
int **  cvalOUT,
double **  avalOUT,
FILE *  fp 
)

Definition at line 390 of file mat_dh_private.c.

void fix_diags_private ( Mat_dh  A  ) 

Definition at line 667 of file mat_dh_private.c.

void insert_missing_diags_private ( Mat_dh  A  ) 

Definition at line 724 of file mat_dh_private.c.

void readMat ( Mat_dh Aout,
char *  ft,
char *  fn,
int  ignore 
)

Definition at line 598 of file mat_dh_private.c.

void readVec ( Vec_dh bout,
char *  ft,
char *  fn,
int  ignore 
)

Definition at line 771 of file mat_dh_private.c.

void writeMat ( Mat_dh  Ain,
char *  ft,
char *  fn 
)

Definition at line 810 of file mat_dh_private.c.

void writeVec ( Vec_dh  bin,
char *  ft,
char *  fn 
)

Definition at line 853 of file mat_dh_private.c.

void mat_dh_transpose_reuse_private_private ( bool  allocateMem,
int  m,
int *  rpIN,
int *  cvalIN,
double *  avalIN,
int **  rpOUT,
int **  cvalOUT,
double **  avalOUT 
) [static]

Definition at line 968 of file mat_dh_private.c.

void mat_dh_transpose_reuse_private ( int  m,
int *  rpIN,
int *  cvalIN,
double *  avalIN,
int *  rpOUT,
int *  cvalOUT,
double *  avalOUT 
)

Definition at line 941 of file mat_dh_private.c.

void mat_dh_transpose_private ( int  m,
int *  RP,
int **  rpOUT,
int *  CVAL,
int **  cvalOUT,
double *  AVAL,
double **  avalOUT 
)

Definition at line 955 of file mat_dh_private.c.

int mat_find_owner ( int *  beg_rows,
int *  end_rows,
int  index 
)

Definition at line 1053 of file mat_dh_private.c.

void partition_and_distribute_private ( Mat_dh  A,
Mat_dh Bout 
)

Definition at line 1333 of file mat_dh_private.c.

void partition_and_distribute_metis_private ( Mat_dh  A,
Mat_dh Bout 
)

Definition at line 1137 of file mat_dh_private.c.

void readMat_par ( Mat_dh Aout,
char *  fileType,
char *  fileName,
int  ignore 
)

Definition at line 1083 of file mat_dh_private.c.

void make_full_private ( int  m,
int **  rpIN,
int **  cvalIN,
double **  avalIN 
)

Definition at line 1595 of file mat_dh_private.c.

void make_symmetric_private ( int  m,
int **  rpIN,
int **  cvalIN,
double **  avalIN 
)

Definition at line 1670 of file mat_dh_private.c.

void profileMat ( Mat_dh  A  ) 

Definition at line 1819 of file mat_dh_private.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