projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more mods
[physik/posic.git]
/
posic.h
diff --git
a/posic.h
b/posic.h
index
fa0846e
..
a26e668
100644
(file)
--- a/
posic.h
+++ b/
posic.h
@@
-17,19
+17,9
@@
#ifndef POSIC_H
#define POSIC_H
#ifndef POSIC_H
#define POSIC_H
-#define LEN_X 50
-#define LX (1.0*LEN_X/2)
-#define LEN_Y 50
-#define LY (1.0*LEN_Y/2)
-#define LEN_Z 50
-#define LZ (1.0*LEN_Z/2)
-
-#define RUNS 1000
+#define RUNS 15000
#define TAU 0.001
#define TAU 0.001
-#define R_CUTOFF 20
-#define R2_CUTOFF (R_CUTOFF*R_CUTOFF)
-
#define SI_M 1
#define SI_LC 5.43105
#define LJ_SIGMA SI_LC
#define SI_M 1
#define SI_LC 5.43105
#define LJ_SIGMA SI_LC
@@
-37,18
+27,13
@@
#define LJ_SIGMA_06 (LJ_SIGMA_02*LJ_SIGMA_02*LJ_SIGMA_02)
#define LJ_SIGMA_12 (LJ_SIGMA_06*LJ_SIGMA_06)
#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
#endif