initial lattice control
[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 // initial lattice
13
14 #define INIT_SI         // plain silicon
15 //#define INIT_C                // plain diamond
16 //#define INIT_3CSIC    // 3C-SiC
17
18 // prerun
19
20 #define PRERUN          600
21 #define PRE_TAU         1.0
22
23 // insertrun
24
25 #define INS_RUNS        600
26 #define INS_ATOMS       10
27
28 #define INS_CARBON      /* comment for silicon */
29
30 #ifdef INS_CARBON
31  #define INS_TYPE       C
32  #define INS_MASS       M_C
33  #define INS_BRAND      1
34 #else
35  #define INS_TYPE       SI
36  #define INS_MASS       M_SI
37  #define INS_BRAND      0
38 #endif
39
40 #define INS_RAND        // random nsert
41 //#define INS_HEXA      // hexagonal interstitial position
42 //#define INS_TETRA     // tetrahedral interstitial position
43 //#define INS_110DB     // 110 dumbbell interstitial position
44
45 #define INS_ATTR        ATOM_ATTR_HB                            // heat bath
46 //#define INS_ATTR      ATOM_ATTR_HB|ATOM_ATTR_VB               // + vis bonds
47 //#define INS_ATTR      ATOM_ATTR_HB|ATOM_ATTR_VB|ATOM_ATTR_FP  // + fixed pos
48
49 //#define INS_LENX      (12*ALBE_LC_SIC)
50 //#define INS_LENY      (12*ALBE_LC_SIC)
51 //#define INS_LENZ      (12*ALBE_LC_SIC)
52 #define INS_LENX        (9*ALBE_LC_SI)
53 #define INS_LENY        (9*ALBE_LC_SI)
54 #define INS_LENZ        (9*ALBE_LC_SI)
55 #define INS_OFFSET      (ALBE_LC_SI/8.0)
56
57 #define INS_R_C         1.5
58 #define INS_DELTA_TC    1.0
59 #define INS_RELAX       100
60 #define INS_TAU         1.0
61
62 // postrun
63
64 #define POST_RUNS       430
65 #define POST_DELTA_TC   1.0
66 #define POST_DT         1.0
67 #define POST_RELAX      100
68 #define POST_TAU        1.0
69
70 // log
71
72 #define R_TITLE         "Carbon into silicon"
73 #define LOG_E           10
74 #define LOG_T           10
75 #define LOG_P           10
76 #define LOG_S           200
77 #define LOG_V           200
78
79 #define AVG_SKIP        500