X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=posic.h;h=18d14d91e90ede46a9a793903c2280dbdaaa7e53;hb=1bd9e2d75046d4bd410418d203d02a594fb32e6b;hp=1eb8e81d194ae7bf07ff351ad34777b17e16e119;hpb=710717c4033bc5b8eb34644914e762a2834ae345;p=physik%2Fposic.git diff --git a/posic.h b/posic.h index 1eb8e81..18d14d9 100644 --- a/posic.h +++ b/posic.h @@ -1,11 +1,18 @@ /* * posic.h - precipitation process of silicon carbide in silicon * - * author: Frank Zirkelbach + * author: Frank Zirkelbach * */ +#ifndef POSIC_H +#define POSIC_H + +/* includes */ + #define _GNU_SOURCE + +// system #include #include #include @@ -14,29 +21,24 @@ #include #include -#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 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 -#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) +#include + +// swapped out functions +#include "math/math.h" +#include "list/list.h" +#include "visual/visual.h" +#include "random/random.h" + +// potentials +#include "potentials/harmonic_oscillator.h" +#include "potentials/lennard_jones.h" +#include "potentials/albe.h" +#ifdef TERSOFF_ORIG +#include "potentials/tersoff_orig.h" // obsolete & wrong! ;) +#else +#include "potentials/tersoff.h" +#endif -#define AMOUNT_SI ((LEN_X/SI_LC)*(LEN_Y/SI_LC)*(LEN_Z/SI_LC)*2) +/* defines */ #endif