frename.c
Go to the documentation of this file.
1 /*
2  * Copyright 1997, Regents of the University of Minnesota
3  *
4  * Frename.c
5  *
6  * THis file contains some renaming routines to deal with different Fortran compilers
7  *
8  * Started 9/15/97
9  * George
10  *
11  */
12 
13 
14 #include "metislib.h"
15 
16 #define FRENAME(name, dargs, cargs, name1, name2, name3, name4) \
17  int name1 dargs { return name cargs; } \
18  int name2 dargs { return name cargs; } \
19  int name3 dargs { return name cargs; } \
20  int name4 dargs { return name cargs; }
21 
22 
23 FRENAME(
25  (idx_t *nvtxs, idx_t *ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt,
28  (nvtxs, ncon, xadj, adjncy, vwgt,
31  METIS_PARTGRAPHRECURSIVE,
32  metis_partgraphrecursive,
33  metis_partgraphrecursive_,
34  metis_partgraphrecursive__
35 )
36 
37 
38 FRENAME(
40  (idx_t *nvtxs, idx_t *ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt,
43  (nvtxs, ncon, xadj, adjncy, vwgt,
46  METIS_PARTGRAPHKWAY,
47  metis_partgraphkway,
48  metis_partgraphkway_,
49  metis_partgraphkway__
50 )
51 
52 FRENAME(
55  idx_t **r_xadj, idx_t **r_adjncy),
57  METIS_MESHTODUAL,
58  metis_meshtodual,
59  metis_meshtodual_,
60  metis_meshtodual__
61 )
62 
63 
64 FRENAME(
67  idx_t **r_adjncy),
68  (ne, nn, eptr, eind, numflag, r_xadj, r_adjncy),
69  METIS_MESHTONODAL,
70  metis_meshtonodal,
71  metis_meshtonodal_,
72  metis_meshtonodal__
73 )
74 
75 
76 FRENAME(
78  (idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *vwgt, idx_t *vsize,
80  idx_t *npart),
82  METIS_PARTMESHNODAL,
83  metis_partmeshnodal,
84  metis_partmeshnodal_,
85  metis_partmeshnodal__
86 )
87 
88 
89 FRENAME(
91  (idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *vwgt, idx_t *vsize,
93  idx_t *epart, idx_t *npart),
95  METIS_PARTMESHDUAL,
96  metis_partmeshdual,
97  metis_partmeshdual_,
98  metis_partmeshdual__
99 )
100 
101 
102 FRENAME(
103  METIS_NodeND,
104  (idx_t *nvtxs, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *options, idx_t *perm,
105  idx_t *iperm),
106  (nvtxs, xadj, adjncy, vwgt, options, perm, iperm),
107  METIS_NODEND,
108  metis_nodend,
109  metis_nodend_,
110  metis_nodend__
111 )
112 
113 
114 FRENAME(
115  METIS_Free,
116  (void *ptr),
117  (ptr),
118  METIS_FREE,
119  metis_free,
120  metis_free_,
121  metis_free__
122 )
123 
124 
125 FRENAME(
127  (idx_t *options),
128  (options),
129  METIS_SETDEFAULTOPTIONS,
130  metis_setdefaultoptions,
131  metis_setdefaultoptions_,
132  metis_setdefaultoptions__
133 )
134 
135 
136 
objval
idx_t idx_t idx_t idx_t idx_t idx_t real_t idx_t idx_t * objval
Definition: include/metis.h:215
perm
idx_t idx_t idx_t idx_t idx_t * perm
Definition: include/metis.h:223
ubvec
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t real_t * ubvec
Definition: include/metis.h:199
numflag
idx_t idx_t idx_t idx_t idx_t * numflag
Definition: include/metis.h:208
adjwgt
idx_t idx_t idx_t idx_t idx_t idx_t * adjwgt
Definition: include/metis.h:198
vsize
idx_t idx_t idx_t idx_t idx_t * vsize
Definition: include/metis.h:198
METIS_PartGraphRecursive
int METIS_PartGraphRecursive(idx_t *nvtxs, idx_t *ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *vsize, idx_t *adjwgt, idx_t *nparts, real_t *tpwgts, real_t *ubvec, idx_t *options, idx_t *objval, idx_t *part)
Recursive partitioning routine.
Definition: pmetis.c:91
tpwgts
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t * tpwgts
Definition: include/metis.h:199
adjncy
idx_t idx_t idx_t * adjncy
Definition: include/metis.h:198
METIS_PartMeshNodal
int METIS_PartMeshNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *vwgt, idx_t *vsize, idx_t *nparts, real_t *tpwgts, idx_t *options, idx_t *objval, idx_t *epart, idx_t *npart)
Definition: meshpart.c:22
ncommon
idx_t idx_t idx_t idx_t * ncommon
Definition: include/metis.h:208
npart
idx_t idx_t idx_t idx_t idx_t idx_t real_t idx_t idx_t idx_t idx_t * npart
Definition: include/metis.h:215
METIS_PartGraphKway
int METIS_PartGraphKway(idx_t *nvtxs, idx_t *ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *vsize, idx_t *adjwgt, idx_t *nparts, real_t *tpwgts, real_t *ubvec, idx_t *options, idx_t *objval, idx_t *part)
Definition: kmetis.c:18
ncon
idx_t * ncon
Definition: include/metis.h:197
nparts
idx_t idx_t idx_t idx_t idx_t idx_t idx_t * nparts
Definition: include/metis.h:199
iperm
idx_t idx_t idx_t idx_t idx_t idx_t * iperm
Definition: include/metis.h:223
r_adjncy
idx_t idx_t idx_t idx_t idx_t idx_t idx_t ** r_adjncy
Definition: include/metis.h:208
METIS_Free
int METIS_Free(void *ptr)
Definition: auxapi.c:23
eind
idx_t idx_t idx_t * eind
Definition: include/metis.h:207
METIS_NodeND
int METIS_NodeND(idx_t *nvtxs, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *options, idx_t *perm, idx_t *iperm)
Definition: ometis.c:43
METIS_MeshToDual
int METIS_MeshToDual(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *ncommon, idx_t *numflag, idx_t **r_xadj, idx_t **r_adjncy)
Definition: mesh.c:44
vwgt
idx_t idx_t idx_t idx_t * vwgt
Definition: include/metis.h:198
part
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t real_t idx_t idx_t idx_t * part
Definition: include/metis.h:200
edgecut
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t real_t idx_t idx_t * edgecut
Definition: include/metis.h:200
eptr
idx_t idx_t * eptr
Definition: include/metis.h:207
METIS_SetDefaultOptions
int METIS_SetDefaultOptions(idx_t *options)
Definition: auxapi.c:36
xadj
idx_t idx_t * xadj
Definition: include/metis.h:197
epart
idx_t idx_t idx_t idx_t idx_t idx_t real_t idx_t idx_t idx_t * epart
Definition: include/metis.h:215
real_t
float real_t
Definition: include/metis.h:132
metislib.h
FRENAME
#define FRENAME(name, dargs, cargs, name1, name2, name3, name4)
Definition: frename.c:16
nn
idx_t * nn
Definition: include/metis.h:207
METIS_MeshToNodal
int METIS_MeshToNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *numflag, idx_t **r_xadj, idx_t **r_adjncy)
Definition: mesh.c:114
options
Definition: options.h:16
METIS_PartMeshDual
int METIS_PartMeshDual(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *vwgt, idx_t *vsize, idx_t *ncommon, idx_t *nparts, real_t *tpwgts, idx_t *options, idx_t *objval, idx_t *epart, idx_t *npart)
Definition: meshpart.c:90
idx_t
int32_t idx_t
Definition: include/metis.h:101
r_xadj
idx_t idx_t idx_t idx_t idx_t idx_t ** r_xadj
Definition: include/metis.h:208


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:18