X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=sic.c;h=f8e6ce1cb367b75535deaf676c1fab10b5c45a6b;hb=e2c5d8b0eb4ce6faeb48830634eef522dbdb52b0;hp=a78f3a0a9396318d91ddf5d3662eaeb2215e7ea9;hpb=0b96eb313c9bfec6272b1f8de0d99c4ce26d1686;p=physik%2Fposic.git diff --git a/sic.c b/sic.c index a78f3a0..f8e6ce1 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