#include "Paso.h"
#include "SparseMatrix.h"
Functions | |
static int | calc_digits (int) |
static void | fmt_str (int, int, int *, int *, int *, char *, char *) |
static void | print_data (FILE *, int, int, int, char *, void *, int, int) |
static void | generate_HB (FILE *, dim_t *, dim_t *, double *) |
void | Paso_SparseMatrix_saveHB_CSC (Paso_SparseMatrix *A_p, FILE *fileHandle_p) |
Variables | |
static dim_t | M |
static dim_t | N |
static dim_t | nz |
int calc_digits | ( | int | var | ) | [static] |
Referenced by generate_HB().
void fmt_str | ( | int | nvalues, | |
int | integer, | |||
int * | width, | |||
int * | nlines, | |||
int * | nperline, | |||
char * | pfmt, | |||
char * | fmt | |||
) | [static] |
Referenced by generate_HB().
References calc_digits(), fmt_str(), M, N, nz, and print_data().
Referenced by Paso_SparseMatrix_saveHB_CSC().
void Paso_SparseMatrix_saveHB_CSC | ( | Paso_SparseMatrix * | A_p, | |
FILE * | fileHandle_p | |||
) |
References Paso_SparseMatrix::col_block_size, generate_HB(), Paso_Pattern::index, Paso_SparseMatrix::len, M, MATRIX_FORMAT_OFFSET1, MEMALLOC, MEMFREE, N, Paso_SparseMatrix::numCols, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, nz, Paso_setError(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, TYPE_ERROR, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_saveHB().
void print_data | ( | FILE * | fp, | |
int | n_perline, | |||
int | width, | |||
int | nval, | |||
char * | fmt, | |||
void * | ptr, | |||
int | integer, | |||
int | adjust | |||
) | [static] |
Referenced by generate_HB().