X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=sic.c;h=ba7de3d27c0f3ca64b12c0cfb881f302a477a608;hb=998262afd7a8593832a8cbb80f02c0eb42a493ff;hp=a78f3a0a9396318d91ddf5d3662eaeb2215e7ea9;hpb=0b96eb313c9bfec6272b1f8de0d99c4ce26d1686;p=physik%2Fposic.git diff --git a/sic.c b/sic.c index a78f3a0..ba7de3d 100644 --- a/sic.c +++ b/sic.c @@ -13,8 +13,13 @@ /* potential */ #include "potentials/harmonic_oscillator.h" #include "potentials/lennard_jones.h" +#include "potentials/albe.h" + +#ifdef TERSOFF_ORIG +#include "potentials/tersoff_orig.h" +#else #include "potentials/tersoff.h" -//#include "potentials/tersoff_orig.h" +#endif #define INJECT 1 #define NR_ATOMS 4 @@ -30,8 +35,6 @@ int hook(void *moldyn,void *hook_params) { md=moldyn; - printf("\nschedule hook: "); - if(!(md->schedule.count%2)) { /* add carbon at random place, and enable t scaling */ for(j=0;j