Hitmap 1.3
|
#include <hit_file.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <hit_error.h>
#include <hit_allocP.h>
#include <hit_funcop.h>
#include <hit_cshape.h>
#include <hit_bshape.h>
#include "matrix_io.h"
Go to the source code of this file.
Macros | |
#define | INCLUDE_MATRIX_IO__H |
#define | NUMBERS_LINE 10 |
#define | NUMBERS_SIZE 8 |
#define | NUMBERS_LINE 10 |
#define | NUMBERS_SIZE 8 |
Functions | |
int | compare_idxtype (const void *a, const void *b) |
void | hit_csr_renameIndexes (int Nr, int *xadj, int *adjncy) |
int | hit_csr_renameIndexes_and_Symmetrize (int *pNr, int *pNc, int nz, int **pxadj, int **padjncy, const char *file, int line) |
HitShape | hit_fileMMRead_toCSR_Internal (const char *fileName, int create_graph, int rank, const char *file, int line) |
HitShape | hit_fileHBRead_toCSR_Internal (const char *fileName, int create_graph, int rank, const char *file, int line) |
HitShape | hit_fileHBRead_toBitmap_Internal (const char *fileName, int create_graph, int rank, const char *file, int line) |
void | hit_fileHBWriteInternal (const char *hbfile, HitShape shape, int rank, const char *cfile, int cline) |
void | hit_fileHBWriteBitmapInternal (const char *hbfile, HitShape shape, int rank, const char *cfile, int cline) |
int | hit_fileHBVerticesInternal (const char *hbfile, int rank, const char *file, int line) |
int | hit_fileHBReadDenseInternal (const char *fileName, int rank, void *tileP, const char *file, int line) |
HitShape | hit_fileCSRReadInternal (const char *csrfile, int rank, const char *cfile, int line) |
void | hit_fileCSRWriteInternal (const char *csrfile, HitShape shape, int rank, const char *cfile, int line) |
#define INCLUDE_MATRIX_IO__H |
Definition at line 55 of file hit_file.c.
#define NUMBERS_LINE 10 |
#define NUMBERS_LINE 10 |
#define NUMBERS_SIZE 8 |
#define NUMBERS_SIZE 8 |
int compare_idxtype | ( | const void * | a, |
const void * | b | ||
) |
Compare function for idxtype, to be used in stdlib's qsort(3).
a | Pointer to an idxtype. |
b | Pointer to an idxtype. |
Definition at line 66 of file hit_file.c.
void hit_csr_renameIndexes | ( | int | Nr, |
int * | xadj, | ||
int * | adjncy | ||
) |
int hit_csr_renameIndexes_and_Symmetrize | ( | int * | pNr, |
int * | pNc, | ||
int | nz, | ||
int ** | pxadj, | ||
int ** | padjncy, | ||
const char * | file, | ||
int | line | ||
) |
Definition at line 86 of file hit_file.c.
HitShape hit_fileCSRReadInternal | ( | const char * | csrfile, |
int | rank, | ||
const char * | cfile, | ||
int | line | ||
) |
Definition at line 942 of file hit_file.c.
void hit_fileCSRWriteInternal | ( | const char * | csrfile, |
HitShape | shape, | ||
int | rank, | ||
const char * | cfile, | ||
int | line | ||
) |
Definition at line 1008 of file hit_file.c.
HitShape hit_fileHBRead_toBitmap_Internal | ( | const char * | fileName, |
int | create_graph, | ||
int | rank, | ||
const char * | file, | ||
int | line | ||
) |
HitShape hit_fileHBRead_toCSR_Internal | ( | const char * | fileName, |
int | create_graph, | ||
int | rank, | ||
const char * | file, | ||
int | line | ||
) |
int hit_fileHBReadDenseInternal | ( | const char * | hbfile, |
int | rank, | ||
void * | tileP, | ||
const char * | file, | ||
int | line | ||
) |
Reads a Harwell-Boeing graph and writes it in a square adjancency matrix.
Definition at line 816 of file hit_file.c.
int hit_fileHBVerticesInternal | ( | const char * | hbfile, |
int | rank, | ||
const char * | file, | ||
int | line | ||
) |
Reads the number of vertices from a Harwell-Boeing graph file.
Definition at line 778 of file hit_file.c.
void hit_fileHBWriteBitmapInternal | ( | const char * | hbfile, |
HitShape | shape, | ||
int | rank, | ||
const char * | cfile, | ||
int | cline | ||
) |
Definition at line 664 of file hit_file.c.
void hit_fileHBWriteInternal | ( | const char * | hbfile, |
HitShape | shape, | ||
int | rank, | ||
const char * | file, | ||
int | line | ||
) |
Output function for CSR and Bitmap shapes to HB.
Definition at line 573 of file hit_file.c.
HitShape hit_fileMMRead_toCSR_Internal | ( | const char * | fileName, |
int | create_graph, | ||
int | rank, | ||
const char * | file, | ||
int | line | ||
) |