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