init testing
[physik/posic.git] / posic.h
1 /*
2  * posic.h - precipitation process of silicon carbide in silicon
3  *
4  * author: Frank Zirkelbach <hackbard@hackdaworl.org>
5  *
6  */
7
8 #define _GNU_SOURCE
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <string.h>
12 #include <unistd.h>
13 #include <sys/types.h>
14 #include <sys/stat.h>
15 #include <fcntl.h>
16
17 #ifndef POSIC_H
18 #define POSIC_H
19
20 #define RUNS 15000
21 #define TAU 0.001
22
23 #define SI_M 1
24 #define SI_LC 5.43105
25 #define LJ_SIGMA SI_LC
26 #define LJ_SIGMA_02 (LJ_SIGMA*LJ_SIGMA)
27 #define LJ_SIGMA_06 (LJ_SIGMA_02*LJ_SIGMA_02*LJ_SIGMA_02)
28 #define LJ_SIGMA_12 (LJ_SIGMA_06*LJ_SIGMA_06)
29
30 #define LEN_X 2
31 #define LEN_Y 2
32 #define LEN_Z 2
33
34 #define R_CUTOFF 20
35 #define R2_CUTOFF (R_CUTOFF*R_CUTOFF)
36
37 #define AMOUNT_SI ((LEN_X/SI_LC)*(LEN_Y/SI_LC)*(LEN_Z/SI_LC)*2)
38
39 #endif