Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/elmergrid/src/metis-5.1.0/programs/defs.h
3206 views
1
/*
2
* defs.h
3
*
4
* This file contains various constant definitions
5
*
6
* Started 8/9/02
7
* George
8
*
9
*/
10
11
#define CMD_PTYPE 1
12
#define CMD_OTYPE 2
13
#define CMD_CTYPE 5
14
#define CMD_ITYPE 6
15
#define CMD_RTYPE 7
16
17
#define CMD_BALANCE 10
18
#define CMD_CONTIG 11
19
#define CMD_MINCONN 12
20
#define CMD_MINVOL 13
21
22
#define CMD_NITER 20
23
#define CMD_NTRIALS 21
24
#define CMD_NSEPS 22
25
26
#define CMD_TPWGTS 30
27
#define CMD_SDIFF 31
28
29
#define CMD_DEGREE 40
30
#define CMD_COMPRESS 41
31
32
#define CMD_SEED 50
33
34
#define CMD_OUTPUT 100
35
#define CMD_NOOUTPUT 101
36
37
#define CMD_DBGLVL 1000
38
#define CMD_HELP 1001
39
40
41
42
43
/* The text labels for PTypes */
44
static char ptypenames[][15] = {"rb", "kway"};
45
46
/* The text labels for ObjTypes */
47
static char objtypenames[][15] = {"cut", "vol", "node"};
48
49
/* The text labels for CTypes */
50
static char ctypenames[][15] = {"rm", "shem"};
51
52
/* The text labels for RTypes */
53
static char rtypenames[][15] = {"fm", "greedy", "2sided", "1sided"};
54
55
/* The text labels for ITypes */
56
static char iptypenames[][15] = {"grow", "random", "edge", "node", "metisrb"};
57
58
/* The text labels for GTypes */
59
static char gtypenames[][15] = {"dual", "nodal"};
60
61