#include "metisbin.h"
Go to the source code of this file.
Functions | |
graph_t * | ReadGraph (params_t *params) |
mesh_t * | ReadMesh (params_t *params) |
void | ReadPOVector (graph_t *graph, char *filename, idx_t *vector) |
void | ReadTPwgts (params_t *params, idx_t ncon) |
void | WriteGraph (graph_t *graph, char *filename) |
void | WriteMeshPartition (char *fname, idx_t nparts, idx_t ne, idx_t *epart, idx_t nn, idx_t *npart) |
void | WritePartition (char *fname, idx_t *part, idx_t n, idx_t nparts) |
void | WritePermutation (char *fname, idx_t *iperm, idx_t n) |
This function reads in a sparse graph
Definition at line 22 of file programs/io.c.
This function reads in a mesh
Definition at line 178 of file programs/io.c.
This function reads in a partition/ordering vector
Definition at line 407 of file programs/io.c.
This function reads in the target partition weights. If no file is specified the weights are set to 1/nparts
Definition at line 275 of file programs/io.c.
void WriteGraph | ( | graph_t * | graph, |
char * | filename | ||
) |
This function writes a graph into a file
Definition at line 497 of file programs/io.c.
void WriteMeshPartition | ( | char * | fname, |
idx_t | nparts, | ||
idx_t | ne, | ||
idx_t * | epart, | ||
idx_t | nn, | ||
idx_t * | npart | ||
) |
This function writes out the partition vectors for a mesh
Definition at line 445 of file programs/io.c.
This function writes out the partition vector
Definition at line 425 of file programs/io.c.
This function writes out the permutation vector
Definition at line 477 of file programs/io.c.