ESYS13  Revision_
Functions | Variables
SparseMatrix_saveHB.c File Reference
#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

Function Documentation

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().

void generate_HB ( FILE *  fp,
dim_t col_ptr,
dim_t row_ind,
double *  val 
) [static]
void Paso_SparseMatrix_saveHB_CSC ( Paso_SparseMatrix A_p,
FILE *  fileHandle_p 
)
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().


Variable Documentation

dim_t M [static]
dim_t N [static]
dim_t nz [static]