hp2FEM
0.1
|
Functions that deal with setting up the graphs for METIS. More...
#include "metislib.h"
Functions | |
graph_t * | SetupGraph (ctrl_t *ctrl, idx_t nvtxs, idx_t ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *vsize, idx_t *adjwgt) |
void | SetupGraph_tvwgt (graph_t *graph) |
void | SetupGraph_label (graph_t *graph) |
graph_t * | SetupSplitGraph (graph_t *graph, idx_t snvtxs, idx_t snedges) |
graph_t * | CreateGraph (void) |
void | InitGraph (graph_t *graph) |
void | FreeRData (graph_t *graph) |
void | FreeGraph (graph_t **r_graph) |
Functions that deal with setting up the graphs for METIS.
$Id: graph.c 10513 2011-07-07 22:06:03Z karypis $
graph_t* CreateGraph | ( | void | ) |
This function creates and initializes a graph_t data structure
This function frees the refinement/partition memory stored in a graph
graph_t* SetupGraph | ( | ctrl_t * | ctrl, |
idx_t | nvtxs, | ||
idx_t | ncon, | ||
idx_t * | xadj, | ||
idx_t * | adjncy, | ||
idx_t * | vwgt, | ||
idx_t * | vsize, | ||
idx_t * | adjwgt | ||
) |
This function sets up the graph from the user input
void SetupGraph_label | ( | graph_t * | graph | ) |
Set's up the label info
void SetupGraph_tvwgt | ( | graph_t * | graph | ) |
Set's up the tvwgt/invtvwgt info
graph_t* SetupSplitGraph | ( | graph_t * | graph, |
idx_t | snvtxs, | ||
idx_t | snedges | ||
) |
Setup the various arrays for the splitted graph