added 001 dumbbell config + user dfefined insertion location
[physik/posic.git] / config.h
1 /*
2  * configuration file
3  *
4  */
5
6 // simulation volume
7
8 #define LCNTX           9
9 #define LCNTY           9
10 #define LCNTZ           9
11
12 // initial lattice
13
14 #define INIT_SI         // plain silicon
15 //#define INIT_C                // plain diamond
16 //#define INIT_3CSIC    // 3C-SiC
17
18 // berendsen thermostat
19
20 //#define T_SCALE_TAU   10.0
21 #define T_SCALE_TAU     100.0
22
23 // prerun
24
25 #define PRERUN          0
26 #define PRE_TAU         1.0
27
28 // insertrun
29
30 #define INS_RUNS        1
31 #define INS_ATOMS       1
32
33 #define INS_CARBON      /* comment for silicon */
34
35 #ifdef INS_CARBON
36  #define INS_TYPE       C
37  #define INS_MASS       M_C
38  #define INS_BRAND      1
39 #else
40  #define INS_TYPE       SI
41  #define INS_MASS       M_SI
42  #define INS_BRAND      0
43 #endif
44
45 //#define INS_RAND      // random nsert
46 //#define INS_HEXA      // hexagonal interstitial position
47 //#define INS_TETRA     // tetrahedral interstitial position
48 //#define INS_110DB     // 110 dumbbell interstitial position
49 #define INS_001DB       // 001 dumbbell interstitial position
50 //#define INS_USER      // user defined insertion location
51  #define INS_UX         -0.25
52  #define INS_UY         -0.25
53  #define INS_UZ         +0.25
54
55 //#define INS_ATTR      ATOM_ATTR_HB                            // heat bath
56 #define INS_ATTR        ATOM_ATTR_HB|ATOM_ATTR_VB               // + vis bonds
57 //#define INS_ATTR      ATOM_ATTR_HB|ATOM_ATTR_VB|ATOM_ATTR_FP  // + fixed pos
58
59 //#define INS_LENX      (12*ALBE_LC_SIC)
60 //#define INS_LENY      (12*ALBE_LC_SIC)
61 //#define INS_LENZ      (12*ALBE_LC_SIC)
62 #define INS_LENX        (9*ALBE_LC_SI)
63 #define INS_LENY        (9*ALBE_LC_SI)
64 #define INS_LENZ        (9*ALBE_LC_SI)
65 #define INS_OFFSET      (ALBE_LC_SI/8.0)
66
67 #define INS_R_C         1.5
68 #define INS_DELTA_TC    1.0
69 #define INS_RELAX       100
70 #define INS_TAU         1.0
71
72 // postrun
73
74 #define POST_RUNS       1
75 #define POST_DELTA_TC   0.01
76 #define POST_DT         -0.0
77 #define POST_RELAX      100
78 #define POST_TAU        1.0
79
80 // log
81
82 #define R_TITLE         "Carbon into silicon"
83 #define LOG_E           10
84 #define LOG_T           10
85 #define LOG_P           10
86 #define LOG_S           20
87 #define LOG_V           20
88
89 #define AVG_SKIP        0