BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / dummyThirdParty / metisDecomp / metis.h
blob7b6ca31fc62f5f2b02b7dce8cde161b54549726d
1 #ifndef METIS_H
2 #define METIS_H 1
4 /* *** DUMMY VERSION of metis.h - this file should not be included if you have metis
5 * installed in the correct position in $WM_THIRD_PARTY_DIR - see
6 * decompositionMethods/metisDecomp/Make/options
7 */
9 #warning "Dummy metis.h - gets included since it cannot find metis installation."
11 #define IDXTYPEWIDTH 32
13 /*------------------------------------------------------------------------
14 * Undefine the following #define in order to use short idxtype as the idxtype
15 *-------------------------------------------------------------------------*/
16 #if IDXTYPEWIDTH == 32
17 #define SCNIDX SCNd32
18 #define PRIIDX PRId32
20 typedef int32_t idxtype;
21 #elif IDXTYPEWIDTH == 64
22 #define SCNIDX SCNd64
23 #define PRIIDX PRId64
25 typedef int64_t idxtype;
26 #else
27 #error "Incorrect user-supplied value fo IDXTYPEWIDTH"
28 #endif
31 void METIS_WPartGraphRecursive(idxtype *nvtxs, idxtype *xadj, idxtype *adjncy, idxtype *vwgt,
32 idxtype *adjwgt, idxtype *wgtflag, idxtype *numflag, idxtype *nparts, float *tpwgts,
33 idxtype *options, idxtype *edgecut, idxtype *part);
34 void METIS_PartGraphRecursive(idxtype *nvtxs, idxtype *xadj, idxtype *adjncy, idxtype *vwgt,
35 idxtype *adjwgt, idxtype *wgtflag, idxtype *numflag, idxtype *nparts, idxtype *options,
36 idxtype *edgecut, idxtype *part);
37 void METIS_WPartGraphKway(idxtype *nvtxs, idxtype *xadj, idxtype *adjncy, idxtype *vwgt,
38 idxtype *adjwgt, idxtype *wgtflag, idxtype *numflag, idxtype *nparts, float *tpwgts,
39 idxtype *options, idxtype *edgecut, idxtype *part);
40 void METIS_PartGraphKway(idxtype *nvtxs, idxtype *xadj, idxtype *adjncy, idxtype *vwgt,
41 idxtype *adjwgt, idxtype *wgtflag, idxtype *numflag, idxtype *nparts, idxtype *options,
42 idxtype *edgecut, idxtype *part);
46 #endif