Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
hb_io.h
1 int ch_eqi ( char ch1, char ch2 );
2 int ch_is_digit ( char c );
3 int ch_is_format_code ( char c );
4 int ch_to_digit ( char ch );
5 void hb_exact_read ( FILE *input, int nrow, int nrhs, int rhscrd,
6  char *rhsfmt, char *rhstyp, double exact[] );
7 void hb_exact_write ( FILE *output, int nrow, int nrhs, int rhscrd,
8  char *rhsfmt, char *rhstyp, double exact[] );
9 void hb_file_read ( FILE *input, char **title, char **key, int *totcrd,
10  int *ptrcrd, int *indcrd, int *valcrd, int *rhscrd, char **mxtype, int *nrow,
11  int *ncol, int *nnzero, int *neltvl, char **ptrfmt, char **indfmt, char **valfmt,
12  char **rhsfmt, char **rhstyp, int *nrhs, int *nrhsix, int **colptr,
13  int **rowind, double **values, double **rhsval, int **rhsptr, int **rhsind,
14  double **rhsvec, double **guess, double **exact );
15 void hb_file_write ( FILE *output, char *title, char *key, int totcrd,
16  int ptrcrd, int indcrd, int valcrd, int rhscrd, char *mxtype, int nrow,
17  int ncol, int nnzero, int neltvl, char *ptrfmt, char *indfmt, char *valfmt,
18  char *rhsfmt, char *rhstyp, int nrhs, int nrhsix, int colptr[],
19  int rowind[], double values[], double rhsval[], int rhsptr[], int rhsind[],
20  double rhsvec[], double guess[], double exact[] );
21 void hb_guess_read ( FILE *input, int nrow, int nrhs, int rhscrd,
22  char *rhsfmt, char *rhstyp, double guess[] );
23 void hb_guess_write ( FILE *output, int nrow, int nrhs, int rhscrd,
24  char *rhsfmt, char *rhstyp, double guess[] );
25 void hb_header_print ( char *title, char *key, int totcrd, int ptrcrd,
26  int indcrd, int valcrd, int rhscrd, char *mxtype, int nrow, int ncol,
27  int nnzero, int neltvl, char *ptrfmt, char *indfmt, char *valfmt,
28  char *rhsfmt, char *rhstyp, int nrhs, int nrhsix );
29 void hb_header_read ( FILE *input, char **title, char **key, int *totcrd,
30  int *ptrcrd, int *indcrd, int *valcrd, int *rhscrd, char **mxtype, int *nrow,
31  int *ncol, int *nnzero, int *neltvl, char **ptrfmt, char **indfmt, char **valfmt,
32  char **rhsfmt, char **rhstyp, int *nrhs, int *nrhsix );
33 void hb_header_write ( FILE *output, char *title, char *key, int totcrd,
34  int ptrcrd, int indcrd, int valcrd, int rhscrd, char *mxtype, int nrow,
35  int ncol, int nnzero, int neltvl, char *ptrfmt, char *indfmt, char *valfmt,
36  char *rhsfmt, char *rhstyp, int nrhs, int nrhsix );
37 double *hb_matvec_a_mem ( int nrow, int ncol, int nnzero, int nrhs,
38  int colptr[], int rowind[], double values[], double exact[] );
39 void hb_rhs_read ( FILE *input, int nrow, int nnzero, int nrhs, int nrhsix,
40  int rhscrd, char *ptrfmt, char *indfmt, char *rhsfmt, char *mxtype,
41  char *rhstyp, double rhsval[], int rhsind[], int rhsptr[], double rhsvec[] );
42 void hb_rhs_write ( FILE *output, int nrow, int nnzero, int nrhs, int nrhsix,
43  int rhscrd, char *ptrfmt, char *indfmt, char *rhsfmt, char *mxtype,
44  char *rhstyp, double rhsval[], int rhsind[], int rhsptr[], double rhsvec[] );
45 void hb_structure_print ( int ncol, char *mxtype, int nnzero, int neltvl,
46  int colptr[], int rowind[] );
47 void hb_structure_read ( FILE *input, int ncol, char *mxtype, int nnzero,
48  int neltvl, int ptrcrd, char *ptrfmt, int indcrd, char *indfmt,
49  int colptr[], int rowind[] );
50 void hb_structure_write ( FILE *output, int ncol, char *mxtype,
51  int nnzero, int neltvl, char *ptrfmt, char *indfmt, int colptr[],
52  int rowind[] );
53 int *hb_ua_colind ( int ncol, int colptr[], int nnzero );
54 void hb_values_print ( int ncol, int colptr[], char *mxtype, int nnzero,
55  int neltvl, double values[] );
56 void hb_values_read ( FILE *input, int valcrd, char *mxtype, int nnzero,
57  int neltvl, char *valfmt, double values[] );
58 void hb_values_write ( FILE *output, int valcrd, char *mxtype,
59  int nnzero, int neltvl, char *valfmt, double values[] );
60 double *hb_vecmat_a_mem ( int nrow, int ncol, int nnzero, int nrhs,
61  int colptr[], int rowind[], double values[], double exact[] );
62 int i4_max ( int i1, int i2 );
63 int i4_min ( int i1, int i2 );
64 void i4vec_print ( int n, int a[], char *title );
65 void i4vec_print_part ( int n, int a[], int max_print, char *title );
66 void r8mat_print ( int m, int n, double a[], char *title );
67 void r8mat_print_some ( int m, int n, double a[], int ilo, int jlo, int ihi,
68  int jhi, char *title );
69 void r8vec_print ( int n, double a[], char *title );
70 void r8vec_print_part ( int n, double a[], int max_print, char *title );
71 int s_len_trim ( char *s );
72 char *s_substring ( char *s, int a, int b );
73 void s_to_format ( char *s, int *r, char *code, int *w, int *m );
74 void s_trim ( char *s );
75 void timestamp ( );
76