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

Macros

#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)
 

Macro Definition Documentation

#define IS_UPPER_TRI   97

Definition at line 50 of file mat_dh_private.c.

#define IS_LOWER_TRI   98

Definition at line 51 of file mat_dh_private.c.

#define IS_FULL   99

Definition at line 52 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_print_graph_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "create_nat_ordering_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "destroy_nat_ordering_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "invert_perm"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_print_csr_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_read_csr_private"

Definition at line 1830 of file mat_dh_private.c.

#define MAX_JUNK   200

Definition at line 398 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_read_triples_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "convert_triples_to_scr_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "readMat"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "fix_diags_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "insert_missing_diags_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "readVec"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "writeMat"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "writeVec"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "isTriangular"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_transpose_reuse_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_transpose_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_dh_transpose_private_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_find_owner"

Definition at line 1830 of file mat_dh_private.c.

#define AVAL_TAG   2

Definition at line 1088 of file mat_dh_private.c.

#define CVAL_TAG   3

Definition at line 1089 of file mat_dh_private.c.

#define __FUNC__   "readMat_par"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "partition_and_distribute_metis_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "partition_and_distribute_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_par_read_allocate_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "mat_partition_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "make_full_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "make_symmetric_private"

Definition at line 1830 of file mat_dh_private.c.

#define __FUNC__   "profileMat"

Definition at line 1830 of file mat_dh_private.c.

Function Documentation

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

Definition at line 902 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 1510 of file mat_dh_private.c.

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

Definition at line 1567 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 555 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 165 of file mat_dh_private.c.

void create_nat_ordering_private ( int  m,
int **  p 
)

Definition at line 269 of file mat_dh_private.c.

void destroy_nat_ordering_private ( int *  p)

Definition at line 284 of file mat_dh_private.c.

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

Definition at line 294 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 308 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 337 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 403 of file mat_dh_private.c.

void fix_diags_private ( Mat_dh  A)

Definition at line 680 of file mat_dh_private.c.

void insert_missing_diags_private ( Mat_dh  A)

Definition at line 737 of file mat_dh_private.c.

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

Definition at line 611 of file mat_dh_private.c.

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

Definition at line 784 of file mat_dh_private.c.

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

Definition at line 823 of file mat_dh_private.c.

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

Definition at line 866 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 981 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 954 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 968 of file mat_dh_private.c.

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

Definition at line 1066 of file mat_dh_private.c.

void partition_and_distribute_private ( Mat_dh  A,
Mat_dh Bout 
)

Definition at line 1346 of file mat_dh_private.c.

void partition_and_distribute_metis_private ( Mat_dh  A,
Mat_dh Bout 
)

Definition at line 1150 of file mat_dh_private.c.

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

Definition at line 1096 of file mat_dh_private.c.

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

Definition at line 1608 of file mat_dh_private.c.

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

Definition at line 1683 of file mat_dh_private.c.

void profileMat ( Mat_dh  A)

Definition at line 1832 of file mat_dh_private.c.