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

◆ ReadGraph()

graph_t* ReadGraph ( params_t params)

This function reads in a sparse graph

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

◆ ReadMesh()

mesh_t* ReadMesh ( params_t params)

This function reads in a mesh

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

◆ ReadPOVector()

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.

◆ ReadTPwgts()

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.

◆ WriteGraph()

void WriteGraph ( graph_t graph,
char *  filename 
)

This function writes a graph into a file

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

◆ WriteMeshPartition()

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.

◆ WritePartition()

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.

◆ WritePermutation()

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 Tue Jul 4 2023 02:40:49