X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=sic.c;h=ba7de3d27c0f3ca64b12c0cfb881f302a477a608;hb=998262afd7a8593832a8cbb80f02c0eb42a493ff;hp=22210255abab5145bee92bd98e44f1280506aa1d;hpb=57847266c05bc38218bf162efdb08e8dd40894d7;p=physik%2Fposic.git diff --git a/sic.c b/sic.c index 2221025..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