X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=posic.h;h=a26e66830e1cfc2e10b17f3e275ae6c63f87d0da;hb=706aed2512544b99ff34308fdb673b19ee884ce0;hp=755ddc6eae9592155af3807f0eb1681922c2b35b;hpb=6eb09b305eb6f565d844979b68dd2542e9a0d5fa;p=physik%2Fposic.git diff --git a/posic.h b/posic.h index 755ddc6..a26e668 100644 --- a/posic.h +++ b/posic.h @@ -17,19 +17,9 @@ #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 10000 +#define RUNS 15000 #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 @@ -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 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