oomph_parmetis_3.1.1/defs.h
Go to the documentation of this file.
1 /*
2  * Copyright 1997, Regents of the University of Minnesota
3  *
4  * defs.h
5  *
6  * This file contains constant definitions
7  *
8  * Started 8/27/94
9  * George
10  *
11  * $Id: defs.h,v 1.4 2003/07/22 20:29:05 karypis Exp $
12  *
13  */
14 
15 
16 #define GLOBAL_DBGLVL 0
17 #define GLOBAL_SEED 15
18 
19 #define MC_FLOW_BALANCE_THRESHOLD 0.2
20 #define MOC_GD_GRANULARITY_FACTOR 1.0
21 #define RIP_SPLIT_FACTOR 8
22 #define MAX_NPARTS_MULTIPLIER 20
23 
24 #define STATIC_PARTITION 1
25 #define ADAPTIVE_PARTITION 2
26 #define REFINE_PARTITION 3
27 #define MESH_PARTITION 4
28 
29 #define REDIST_WGT 2.0
30 #define MAXNVWGT_FACTOR 2.0
31 
32 #define MAXNCON 12
33 #define MAXNOBJ 12
34 #define N_MOC_REDO_PASSES 10
35 #define N_MOC_GR_PASSES 8
36 #define NREMAP_PASSES 8
37 #define N_MOC_GD_PASSES 6
38 #define N_MOC_BAL_PASSES 4
39 #define NMATCH_PASSES 4
40 
41 #define COUPLED 1
42 #define DISCOUPLED 2
43 
44 #define MAX_NCON_FOR_DIFFUSION 2
45 #define SMALLGRAPH 10000
46 
47 #define LTERM (void **) 0 /* List terminator for GKfree() */
48 
49 #define NGD_PASSES 20
50 
51 #define OPTION_IPART 1
52 #define OPTION_FOLDF 2
53 #define OPTION_DBGLVL 3
54 
55 #define PMV3_OPTION_DBGLVL 1
56 #define PMV3_OPTION_SEED 2
57 #define PMV3_OPTION_IPART 3
58 #define PMV3_OPTION_PSR 3
59 
60 #define XYZ_XCOORD 1
61 #define XYZ_SPFILL 2
62 
63 /* Type of initial vertex separator algorithms */
64 #define ISEP_EDGE 1
65 #define ISEP_NODE 2
66 
67 #define UNMATCHED -1
68 #define MAYBE_MATCHED -2
69 #define TOO_HEAVY -3
70 
71 
72 #define HTABLE_EMPTY -1
73 
74 #define NGR_PASSES 4 /* Number of greedy refinement passes */
75 #define NIPARTS 8 /* Number of random initial partitions */
76 #define NLGR_PASSES 5 /* Number of GR refinement during IPartition */
77 
78 #define SMALLFLOAT 0.00001
79 /* #define KEEP_BIT (idxtype)536870912 */ /* 1<<29 */
80 #define KEEP_BIT ((idxtype)(1<<((sizeof(idxtype)*8)-2)))
81 
82 #define MAX_PES 8192
83 #define MAX_NPARTS 67108864
84 
85 #define COARSEN_FRACTION 0.75 /* Node reduction between succesive coarsening levels */
86 #define COARSEN_FRACTION2 0.55 /* Node reduction between succesive coarsening levels */
87 #define UNBALANCE_FRACTION 1.05
88 #define ORDER_UNBALANCE_FRACTION 1.05
89 
90 #define MAXVWGT_FACTOR 1.4
91 
92 #define MATCH_LOCAL 1
93 #define MATCH_GLOBAL 2
94 
95 /* Debug Levels */
96 #define DBG_TIME 1 /* Perform timing analysis */
97 #define DBG_INFO 2 /* Perform timing analysis */
98 #define DBG_PROGRESS 4 /* Show the coarsening progress */
99 #define DBG_REFINEINFO 8 /* Show info on communication during folding */
100 #define DBG_MATCHINFO 16 /* Show info on matching */
101 #define DBG_RMOVEINFO 32 /* Show info on communication during folding */
102 #define DBG_REMAP 64 /* Determines if remapping will take place */