Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/elmergrid/src/metis-5.1.0/programs/struct.h
3206 views
1
/*
2
* struct.h
3
*
4
* This file contains data structures for the various programs of METIS.
5
*
6
* Started 8/9/02
7
* George
8
*
9
* $Id: struct.h 13900 2013-03-24 15:27:07Z karypis $
10
*/
11
12
#ifndef _STRUCTBIN_H_
13
#define _STRUCTBIN_H_
14
15
16
/*************************************************************************/
17
/*! This data structure stores the various command line arguments */
18
/*************************************************************************/
19
typedef struct {
20
idx_t ptype;
21
idx_t objtype;
22
idx_t ctype;
23
idx_t iptype;
24
idx_t rtype;
25
26
idx_t no2hop;
27
idx_t minconn;
28
idx_t contig;
29
30
idx_t nooutput;
31
32
idx_t balance;
33
idx_t ncuts;
34
idx_t niter;
35
36
idx_t gtype;
37
idx_t ncommon;
38
39
idx_t seed;
40
idx_t dbglvl;
41
42
idx_t nparts;
43
44
idx_t nseps;
45
idx_t ufactor;
46
idx_t pfactor;
47
idx_t compress;
48
idx_t ccorder;
49
50
char *filename;
51
char *outfile;
52
char *xyzfile;
53
char *tpwgtsfile;
54
char *ubvecstr;
55
56
idx_t wgtflag;
57
idx_t numflag;
58
real_t *tpwgts;
59
real_t *ubvec;
60
61
real_t iotimer;
62
real_t parttimer;
63
real_t reporttimer;
64
65
size_t maxmemory;
66
} params_t;
67
68
69
#endif
70
71