4 * default parameters and program defines
8 #define DEFAULT_X_SEG 50
9 #define DEFAULT_Y_SEG 50
10 #define DEFAULT_Z_SEG 100
12 #define DEFAULT_SLOPE_NEL 1
13 #define DEFAULT_START_NEL 0
15 #define DEFAULT_STEPS 5000
17 /* program defines, dont touch ;) */
25 #define URAND_MAX 0xffffffff
27 typedef unsigned int u32;
28 typedef long long unsigned int u64;
30 #define printfd(fmt,args...) if(DEBUG) printf(fmt,##args);
38 u32 status; /* C concentration */
41 /* masks for u32 segments */
42 #define AMORPH 0x00000001
43 #define CRYSTAL 0x00000000
44 #define C_CONC_MASK 0xfffffffe