Functions
programs/io.c File Reference
#include "metisbin.h"
Include dependency graph for programs/io.c:

Go to the source code of this file.

Functions

graph_tReadGraph (params_t *params)
 
mesh_tReadMesh (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)
 

Function Documentation

graph_t* ReadGraph ( params_t params)

This function reads in a sparse graph

Definition at line 22 of file programs/io.c.

mesh_t* ReadMesh ( params_t params)

This function reads in a mesh

Definition at line 178 of file programs/io.c.

void ReadPOVector ( graph_t graph,
char *  filename,
idx_t vector 
)

This function reads in a partition/ordering vector

Definition at line 407 of file programs/io.c.

void ReadTPwgts ( params_t params,
idx_t  ncon 
)

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.

void WritePartition ( char *  fname,
idx_t part,
idx_t  n,
idx_t  nparts 
)

This function writes out the partition vector

Definition at line 425 of file programs/io.c.

void WritePermutation ( char *  fname,
idx_t iperm,
idx_t  n 
)

This function writes out the permutation vector

Definition at line 477 of file programs/io.c.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:30