nearly finished init stuff (probs with rand function!)
[physik/posic.git] / posic.h
diff --git a/posic.h b/posic.h
index 93b7219..de0106d 100644 (file)
--- a/posic.h
+++ b/posic.h
 #ifndef POSIC_H
 #define POSIC_H
 
-#define LEN_X 5
-#define LX (1.0*LEN_X/2)
-#define LEN_Y 5
-#define LY (1.0*LEN_Y/2)
-#define LEN_Z 5
-#define LZ (1.0*LEN_Z/2)
-
-#define RUNS 1000
+#define RUNS 15000
 #define TAU 0.001
 
-#define R_CUTOFF 2
-#define R2_CUTOFF (R_CUTOFF*R_CUTOFF)
+#define TEMPERATURE 0.0
 
 #define SI_M 1
-#define SI_LC 0.543105
+#define SI_LC 5.43105
 #define LJ_SIGMA SI_LC
 #define LJ_SIGMA_02 (LJ_SIGMA*LJ_SIGMA)
 #define LJ_SIGMA_06 (LJ_SIGMA_02*LJ_SIGMA_02*LJ_SIGMA_02)
 #define LJ_SIGMA_12 (LJ_SIGMA_06*LJ_SIGMA_06)
 
-#define AMOUNT_SI ((LEN_X/SI_LC)*(LEN_Y/SI_LC)*(LEN_Z/SI_LC)*2)
+#define LEN_X 2
+#define LEN_Y 2
+#define LEN_Z 2
 
-typedef struct s_atom {
-       double x;
-       double y;
-       double z;
-       double vx;
-       double vy;
-       double vz;
-       double fx;
-       double fy;
-       double fz;
-} t_atom;
+#define R_CUTOFF 20
+#define R2_CUTOFF (R_CUTOFF*R_CUTOFF)
+
+#define AMOUNT_SI ((LEN_X/SI_LC)*(LEN_Y/SI_LC)*(LEN_Z/SI_LC)*2)
 
 #endif