added insertion type controled by config.h
[physik/posic.git] / config.h
1 /*
2  * configuration file
3  *
4  */
5
6 // simulation volume
7
8 #define LCNTX           31
9 #define LCNTY           31
10 #define LCNTZ           31
11
12 // prerun
13
14 #define PRERUN          600
15 #define PRE_TAU         1.0
16
17 // insertrun
18
19 #define INS_RUNS        600
20 #define INS_ATOMS       10
21
22 #define INS_CARBON      /* comment for silicon */
23
24 #ifdef INS_CARBON
25  #define INS_TYPE       C
26  #define INS_MASS       M_C
27  #define INS_BRAND      1
28 #else
29  #define INS_TYPE       SI
30  #define INS_MASS       M_SI
31  #define INS_BRAND      0
32 #endif
33
34 #define INS_RAND        0
35 //#define INS_HEXA      1
36 //#define INS_TETRA     2
37 //#define INS_110DB     3
38
39 #define INS_ATTR        ATOM_ATTR_HB                            // heat bath
40 //#define INS_ATTR      ATOM_ATTR_HB|ATOM_ATTR_VB               // + vis bonds
41 //#define INS_ATTR      ATOM_ATTR_HB|ATOM_ATTR_VB|ATOM_ATTR_FP  // + fixed pos
42
43 //#define INS_LENX      (12*ALBE_LC_SIC)
44 //#define INS_LENY      (12*ALBE_LC_SIC)
45 //#define INS_LENZ      (12*ALBE_LC_SIC)
46 #define INS_LENX        (9*ALBE_LC_SI)
47 #define INS_LENY        (9*ALBE_LC_SI)
48 #define INS_LENZ        (9*ALBE_LC_SI)
49 #define INS_OFFSET      (ALBE_LC_SI/8.0)
50
51 #define INS_R_C         1.5
52 #define INS_DELTA_TC    1.0
53 #define INS_RELAX       100
54 #define INS_TAU         1.0
55
56 // postrun
57
58 #define POST_RUNS       430
59 #define POST_DELTA_TC   1.0
60 #define POST_DT         1.0
61 #define POST_RELAX      100
62 #define POST_TAU        1.0
63
64 // log
65
66 #define R_TITLE         "Carbon into silicon"
67 #define LOG_E           10
68 #define LOG_T           10
69 #define LOG_P           10
70 #define LOG_S           200
71 #define LOG_V           200
72
73 #define AVG_SKIP        500