13 #ifndef MTMETIS_VSINFO_H 14 #define MTMETIS_VSINFO_H 50 #define DLMEM_PREFIX vsnbrinfo 51 #define DLMEM_TYPE_T vsnbrinfo_type 52 #include <dlmem_headers.h> 64 #define vsinfo_free MTMETIS_vsinfo_free 74 #define par_vsinfo_create MTMETIS_par_vsinfo_create 86 #define par_vsinfo_free MTMETIS_par_vsinfo_free 103 static inline void S_calc_conn(
106 vtx_type
const mynvtxs,
107 adj_type
const *
const xadj,
108 vtx_type
const *
const adjncy,
109 wgt_type
const *
const *
const gvwgt,
110 pid_type
const *
const *
const gwhere,
112 wgt_type *
const con)
123 for (j=xadj[v];j<xadj[v+1];++j) {
129 lvtx = gvtx_to_lvtx(k,dist);
130 nbrid = gvtx_to_tid(k,dist);
132 nbr = gwhere[nbrid][lvtx];
133 w = gvwgt[nbrid][lvtx];
Type and function prototypes for the ctrl structure.
void par_vsinfo_free(graph_type *graph)
Free a vsinfo and its associate memory.
Definition: vsinfo.c:88
void vsinfo_free(graph_type *graph)
Free a vsinfo and its associate memory.
Definition: vsinfo.c:43
void par_vsinfo_create(ctrl_type *ctrl, graph_type *graph)
Allocate the memory arrays for refinement of a vertex separator.
Definition: vsinfo.c:64
Types and functions for distributed graph objects.