started potentials
[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 TEMPERATURE 273.0 
24
25 #define SI_M 1
26 #define SI_LC 5.43105
27 #define LJ_SIGMA SI_LC
28 #define LJ_SIGMA_02 (LJ_SIGMA*LJ_SIGMA)
29 #define LJ_SIGMA_06 (LJ_SIGMA_02*LJ_SIGMA_02*LJ_SIGMA_02)
30 #define LJ_SIGMA_12 (LJ_SIGMA_06*LJ_SIGMA_06)
31
32 #define LEN_X 1
33 #define LEN_Y 1
34 #define LEN_Z 1
35
36 #define R_CUTOFF 20
37 #define R2_CUTOFF (R_CUTOFF*R_CUTOFF)
38
39 #define AMOUNT_SI ((LEN_X/SI_LC)*(LEN_Y/SI_LC)*(LEN_Z/SI_LC)*2)
40
41 #endif