1 /*
2  * Copyright 1997, Regents of the University of Minnesota
3  *
4  * rename.h
5  *
6  * This file contains header files
7  *
8  * Started 10/2/97
9  * George
10  *
11  * $Id: rename.h,v 1.1 1998/11/27 17:59:29 karypis Exp $
12  *
13  */
14 
15 /* balance.c */
16 #define Balance2Way			__Balance2Way
17 #define Bnd2WayBalance			__Bnd2WayBalance
18 #define General2WayBalance		__General2WayBalance
19 
20 
21 /* bucketsort.c */
22 #define BucketSortKeysInc		__BucketSortKeysInc
23 
24 
25 /* ccgraph.c */
26 #define CreateCoarseGraph		__CreateCoarseGraph
27 #define CreateCoarseGraphNoMask		__CreateCoarseGraphNoMask
28 #define CreateCoarseGraph_NVW 		__CreateCoarseGraph_NVW
29 #define SetUpCoarseGraph		__SetUpCoarseGraph
30 #define ReAdjustMemory			__ReAdjustMemory
31 
32 
33 /* coarsen.c */
34 #define Coarsen2Way			__Coarsen2Way
35 
36 
37 /* compress.c */
38 #define CompressGraph			__CompressGraph
39 #define PruneGraph			__PruneGraph
40 
41 
42 /* debug.c */
43 #define ComputeCut			__ComputeCut
44 #define CheckBnd			__CheckBnd
45 #define CheckBnd2			__CheckBnd2
46 #define CheckNodeBnd			__CheckNodeBnd
47 #define CheckRInfo			__CheckRInfo
48 #define CheckNodePartitionParams	__CheckNodePartitionParams
49 #define IsSeparable			__IsSeparable
50 
51 
52 /* estmem.c */
53 #define EstimateCFraction		__EstimateCFraction
54 #define ComputeCoarseGraphSize		__ComputeCoarseGraphSize
55 
56 
57 /* fm.c */
58 #define FM_2WayEdgeRefine		__FM_2WayEdgeRefine
59 
60 
61 /* fortran.c */
62 #define Change2CNumbering		__Change2CNumbering
63 #define Change2FNumbering		__Change2FNumbering
64 #define Change2FNumbering2		__Change2FNumbering2
65 #define Change2FNumberingOrder		__Change2FNumberingOrder
66 #define ChangeMesh2CNumbering		__ChangeMesh2CNumbering
67 #define ChangeMesh2FNumbering		__ChangeMesh2FNumbering
68 #define ChangeMesh2FNumbering2		__ChangeMesh2FNumbering2
69 
70 
71 /* graph.c */
72 #define SetUpGraph			__SetUpGraph
73 #define SetUpGraphKway 			__SetUpGraphKway
74 #define SetUpGraph2			__SetUpGraph2
75 #define VolSetUpGraph			__VolSetUpGraph
76 #define RandomizeGraph			__RandomizeGraph
77 #define IsConnectedSubdomain		__IsConnectedSubdomain
78 #define IsConnected			__IsConnected
79 #define IsConnected2			__IsConnected2
80 #define FindComponents			__FindComponents
81 
82 
83 /* initpart.c */
84 #define Init2WayPartition		__Init2WayPartition
85 #define InitSeparator			__InitSeparator
86 #define GrowBisection			__GrowBisection
87 #define GrowBisectionNode		__GrowBisectionNode
88 #define RandomBisection			__RandomBisection
89 
90 
91 /* kmetis.c */
92 #define MlevelKWayPartitioning		__MlevelKWayPartitioning
93 
94 
95 /* kvmetis.c */
96 #define MlevelVolKWayPartitioning	__MlevelVolKWayPartitioning
97 
98 
99 /* kwayfm.c */
100 #define Random_KWayEdgeRefine		__Random_KWayEdgeRefine
101 #define Greedy_KWayEdgeRefine		__Greedy_KWayEdgeRefine
102 #define Greedy_KWayEdgeBalance		__Greedy_KWayEdgeBalance
103 
104 
105 /* kwayrefine.c */
106 #define RefineKWay			__RefineKWay
107 #define AllocateKWayPartitionMemory	__AllocateKWayPartitionMemory
108 #define ComputeKWayPartitionParams	__ComputeKWayPartitionParams
109 #define ProjectKWayPartition		__ProjectKWayPartition
110 #define IsBalanced			__IsBalanced
111 #define ComputeKWayBoundary		__ComputeKWayBoundary
112 #define ComputeKWayBalanceBoundary	__ComputeKWayBalanceBoundary
113 
114 
115 /* kwayvolfm.c */
116 #define Random_KWayVolRefine		__Random_KWayVolRefine
117 #define Random_KWayVolRefineMConn	__Random_KWayVolRefineMConn
118 #define Greedy_KWayVolBalance		__Greedy_KWayVolBalance
119 #define Greedy_KWayVolBalanceMConn	__Greedy_KWayVolBalanceMConn
120 #define KWayVolUpdate			__KWayVolUpdate
121 #define ComputeKWayVolume		__ComputeKWayVolume
122 #define ComputeVolume			__ComputeVolume
123 #define CheckVolKWayPartitionParams	__CheckVolKWayPartitionParams
124 #define ComputeVolSubDomainGraph	__ComputeVolSubDomainGraph
125 #define EliminateVolSubDomainEdges	__EliminateVolSubDomainEdges
126 
127 
128 /* kwayvolrefine.c */
129 #define RefineVolKWay			__RefineVolKWay
130 #define AllocateVolKWayPartitionMemory	__AllocateVolKWayPartitionMemory
131 #define ComputeVolKWayPartitionParams	__ComputeVolKWayPartitionParams
132 #define ComputeKWayVolGains		__ComputeKWayVolGains
133 #define ProjectVolKWayPartition		__ProjectVolKWayPartition
134 #define ComputeVolKWayBoundary		__ComputeVolKWayBoundary
135 #define ComputeVolKWayBalanceBoundary	__ComputeVolKWayBalanceBoundary
136 
137 
138 /* match.c */
139 #define Match_RM			__Match_RM
140 #define Match_RM_NVW			__Match_RM_NVW
141 #define Match_HEM			__Match_HEM
142 #define Match_SHEM			__Match_SHEM
143 
144 
145 /* mbalance.c */
146 #define MocBalance2Way			__MocBalance2Way
147 #define MocGeneral2WayBalance		__MocGeneral2WayBalance
148 
149 
150 /* mbalance2.c */
151 #define MocBalance2Way2			__MocBalance2Way2
152 #define MocGeneral2WayBalance2		__MocGeneral2WayBalance2
153 #define SelectQueue3			__SelectQueue3
154 
155 
156 /* mcoarsen.c */
157 #define MCCoarsen2Way			__MCCoarsen2Way
158 
159 
160 /* memory.c */
161 #define AllocateWorkSpace		__AllocateWorkSpace
162 #define FreeWorkSpace			__FreeWorkSpace
163 #define WspaceAvail			__WspaceAvail
164 #define idxwspacemalloc			__idxwspacemalloc
165 #define idxwspacefree			__idxwspacefree
166 #define fwspacemalloc			__fwspacemalloc
167 #define CreateGraph			__CreateGraph
168 #define InitGraph			__InitGraph
169 #define FreeGraph			__FreeGraph
170 
171 
172 /* mesh.c */
173 #define TRIDUALMETIS			__TRIDUALMETIS
174 #define TETDUALMETIS			__TETDUALMETIS
175 #define HEXDUALMETIS			__HEXDUALMETIS
176 #define TRINODALMETIS			__TRINODALMETIS
177 #define TETNODALMETIS			__TETNODALMETIS
178 #define HEXNODALMETIS			__HEXNODALMETIS
179 
180 
181 /* mfm.c */
182 #define MocFM_2WayEdgeRefine		__MocFM_2WayEdgeRefine
183 #define SelectQueue			__SelectQueue
184 #define BetterBalance			__BetterBalance
185 #define Compute2WayHLoadImbalance	__Compute2WayHLoadImbalance
186 #define Compute2WayHLoadImbalanceVec	__Compute2WayHLoadImbalanceVec
187 
188 
189 /* mfm2.c */
190 #define MocFM_2WayEdgeRefine2		__MocFM_2WayEdgeRefine2
191 #define SelectQueue2			__SelectQueue2
192 #define IsBetter2wayBalance		__IsBetter2wayBalance
193 
194 
195 /* mincover.c */
196 #define MinCover			__MinCover
197 #define MinCover_Augment		__MinCover_Augment
198 #define MinCover_Decompose		__MinCover_Decompose
199 #define MinCover_ColDFS			__MinCover_ColDFS
200 #define MinCover_RowDFS			__MinCover_RowDFS
201 
202 
203 /* minitpart.c */
204 #define MocInit2WayPartition		__MocInit2WayPartition
205 #define MocGrowBisection		__MocGrowBisection
206 #define MocRandomBisection		__MocRandomBisection
207 #define MocInit2WayBalance		__MocInit2WayBalance
208 #define SelectQueueoneWay		__SelectQueueoneWay
209 
210 
211 /* minitpart2.c */
212 #define MocInit2WayPartition2		__MocInit2WayPartition2
213 #define MocGrowBisection2		__MocGrowBisection2
214 #define MocGrowBisectionNew2		__MocGrowBisectionNew2
215 #define MocInit2WayBalance2		__MocInit2WayBalance2
216 #define SelectQueueOneWay2		__SelectQueueOneWay2
217 
218 
219 /* mkmetis.c */
220 #define MCMlevelKWayPartitioning	__MCMlevelKWayPartitioning
221 
222 
223 /* mkwayfmh.c */
224 #define MCRandom_KWayEdgeRefineHorizontal	__MCRandom_KWayEdgeRefineHorizontal
225 #define MCGreedy_KWayEdgeBalanceHorizontal	__MCGreedy_KWayEdgeBalanceHorizontal
226 #define AreAllHVwgtsBelow			__AreAllHVwgtsBelow
227 #define AreAllHVwgtsAbove			__AreAllHVwgtsAbove
228 #define ComputeHKWayLoadImbalance		__ComputeHKWayLoadImbalance
229 #define MocIsHBalanced				__MocIsHBalanced
230 #define IsHBalanceBetterFT			__IsHBalanceBetterFT
231 #define IsHBalanceBetterTT			__IsHBalanceBetterTT
232 
233 
234 /* mkwayrefine.c */
235 #define MocRefineKWayHorizontal		__MocRefineKWayHorizontal
236 #define MocAllocateKWayPartitionMemory	__MocAllocateKWayPartitionMemory
237 #define MocComputeKWayPartitionParams	__MocComputeKWayPartitionParams
238 #define MocProjectKWayPartition		__MocProjectKWayPartition
239 #define MocComputeKWayBalanceBoundary	__MocComputeKWayBalanceBoundary
240 
241 
242 /* mmatch.c */
243 #define MCMatch_RM			__MCMatch_RM
244 #define MCMatch_HEM			__MCMatch_HEM
245 #define MCMatch_SHEM			__MCMatch_SHEM
246 #define MCMatch_SHEBM			__MCMatch_SHEBM
247 #define MCMatch_SBHEM			__MCMatch_SBHEM
248 #define BetterVBalance			__BetterVBalance
249 #define AreAllVwgtsBelowFast		__AreAllVwgtsBelowFast
250 
251 
252 /* mmd.c */
253 #define genmmd				__genmmd
254 #define mmdelm				__mmdelm
255 #define mmdint				__mmdint
256 #define mmdnum				__mmdnum
257 #define mmdupd				__mmdupd
258 
259 
260 /* mpmetis.c */
261 #define MCMlevelRecursiveBisection	__MCMlevelRecursiveBisection
262 #define MCHMlevelRecursiveBisection	__MCHMlevelRecursiveBisection
263 #define MCMlevelEdgeBisection		__MCMlevelEdgeBisection
264 #define MCHMlevelEdgeBisection		__MCHMlevelEdgeBisection
265 
266 
267 /* mrefine.c */
268 #define MocRefine2Way			__MocRefine2Way
269 #define MocAllocate2WayPartitionMemory	__MocAllocate2WayPartitionMemory
270 #define MocCompute2WayPartitionParams	__MocCompute2WayPartitionParams
271 #define MocProject2WayPartition		__MocProject2WayPartition
272 
273 
274 /* mrefine2.c */
275 #define MocRefine2Way2			__MocRefine2Way2
276 
277 
278 /* mutil.c */
279 #define AreAllVwgtsBelow		__AreAllVwgtsBelow
280 #define AreAnyVwgtsBelow		__AreAnyVwgtsBelow
281 #define AreAllVwgtsAbove		__AreAllVwgtsAbove
282 #define ComputeLoadImbalance		__ComputeLoadImbalance
283 #define AreAllBelow			__AreAllBelow
284 
285 
286 /* myqsort.c */
287 #define iidxsort			__iidxsort
288 #define iintsort			__iintsort
289 #define ikeysort			__ikeysort
290 #define ikeyvalsort			__ikeyvalsort
291 
292 
293 /* ometis.c */
294 #define MlevelNestedDissection		__MlevelNestedDissection
295 #define MlevelNestedDissectionCC	__MlevelNestedDissectionCC
296 #define MlevelNodeBisectionMultiple	__MlevelNodeBisectionMultiple
297 #define MlevelNodeBisection		__MlevelNodeBisection
298 #define SplitGraphOrder			__SplitGraphOrder
299 #define MMDOrder			__MMDOrder
300 #define SplitGraphOrderCC		__SplitGraphOrderCC
301 
302 
303 /* parmetis.c */
304 #define MlevelNestedDissectionP		__MlevelNestedDissectionP
305 
306 
307 /* pmetis.c */
308 #define MlevelRecursiveBisection	__MlevelRecursiveBisection
309 #define MlevelEdgeBisection		__MlevelEdgeBisection
310 #define SplitGraphPart			__SplitGraphPart
311 #define SetUpSplitGraph			__SetUpSplitGraph
312 
313 
314 /* pqueue.c */
315 #define PQueueInit			__PQueueInit
316 #define PQueueReset			__PQueueReset
317 #define PQueueFree			__PQueueFree
318 #define PQueueInsert			__PQueueInsert
319 #define PQueueDelete			__PQueueDelete
320 #define PQueueUpdate			__PQueueUpdate
321 #define PQueueUpdateUp			__PQueueUpdateUp
322 #define PQueueGetMax			__PQueueGetMax
323 #define PQueueSeeMax			__PQueueSeeMax
324 #define CheckHeap			__CheckHeap
325 
326 
327 /* refine.c */
328 #define Refine2Way			__Refine2Way
329 #define Allocate2WayPartitionMemory	__Allocate2WayPartitionMemory
330 #define Compute2WayPartitionParams	__Compute2WayPartitionParams
331 #define Project2WayPartition		__Project2WayPartition
332 
333 
334 /* separator.c */
335 #define ConstructSeparator		__ConstructSeparator
336 #define ConstructMinCoverSeparator0	__ConstructMinCoverSeparator0
337 #define ConstructMinCoverSeparator	__ConstructMinCoverSeparator
338 
339 
340 /* sfm.c */
341 #define FM_2WayNodeRefine		__FM_2WayNodeRefine
342 #define FM_2WayNodeRefineEqWgt		__FM_2WayNodeRefineEqWgt
343 #define FM_2WayNodeRefine_OneSided	__FM_2WayNodeRefine_OneSided
344 #define FM_2WayNodeBalance		__FM_2WayNodeBalance
345 #define ComputeMaxNodeGain		__ComputeMaxNodeGain
346 
347 
348 /* srefine.c */
349 #define Refine2WayNode			__Refine2WayNode
350 #define Allocate2WayNodePartitionMemory	__Allocate2WayNodePartitionMemory
351 #define Compute2WayNodePartitionParams	__Compute2WayNodePartitionParams
352 #define Project2WayNodePartition	__Project2WayNodePartition
353 
354 
355 /* stat.c */
356 #define ComputePartitionInfo		__ComputePartitionInfo
357 #define ComputePartitionBalance		__ComputePartitionBalance
358 #define ComputeElementBalance		__ComputeElementBalance
359 
360 
361 /* subdomains.c */
362 #define Random_KWayEdgeRefineMConn	__Random_KWayEdgeRefineMConn
363 #define Greedy_KWayEdgeBalanceMConn	__Greedy_KWayEdgeBalanceMConn
364 #define PrintSubDomainGraph		__PrintSubDomainGraph
365 #define ComputeSubDomainGraph		__ComputeSubDomainGraph
366 #define EliminateSubDomainEdges		__EliminateSubDomainEdges
367 #define MoveGroupMConn			__MoveGroupMConn
368 #define EliminateComponents		__EliminateComponents
369 #define MoveGroup			__MoveGroup
370 
371 
372 /* timing.c */
373 #define InitTimers			__InitTimers
374 #define PrintTimers			__PrintTimers
375 #define seconds				__seconds
376 
377 
378 /* util.c */
379 #define errexit				__errexit
380 #define GKfree				__GKfree
381 #ifndef DMALLOC
382 #define imalloc				__imalloc
383 #define idxmalloc			__idxmalloc
384 #define fmalloc				__fmalloc
385 #define ismalloc			__ismalloc
386 #define idxsmalloc			__idxsmalloc
387 #define GKmalloc			__GKmalloc
388 #endif
389 #define iset				__iset
390 #define idxset				__idxset
391 #define sset				__sset
392 #define iamax				__iamax
393 #define idxamax				__idxamax
394 #define idxamax_strd			__idxamax_strd
395 #define samax				__samax
396 #define samax2				__samax2
397 #define idxamin				__idxamin
398 #define samin				__samin
399 #define idxsum				__idxsum
400 #define idxsum_strd			__idxsum_strd
401 #define idxadd				__idxadd
402 #define charsum				__charsum
403 #define isum				__isum
404 #define ssum				__ssum
405 #define ssum_strd			__ssum_strd
406 #define sscale				__sscale
407 #define snorm2				__snorm2
408 #define sdot				__sdot
409 #define saxpy				__saxpy
410 #define RandomPermute			__RandomPermute
411 #define ispow2				__ispow2
412 #define InitRandom			__InitRandom
413 #define log2_metis			__log2_metis
414 
415 
416 
417 
418 
419