fixed bond analyze, introduced more comfortable set potential function,
[physik/posic.git] / pair_correlation_calc.c
index c7716a3..56369f6 100644 (file)
@@ -48,11 +48,11 @@ int main(int argc,char **argv) {
                return ret;
        }
 
-       //moldyn.cutoff*=2;
-       //moldyn.cutoff_square*=4;
+       moldyn.cutoff*=2;
+       moldyn.cutoff_square*=4;
 
        dr=atof(argv[2]);
-       slots=2.0*moldyn.cutoff/dr;
+       slots=moldyn.cutoff/dr;
        printf("[pair corr calc]\n");
        printf("  slots: %d\n",slots);
        printf("  cutoff: %f\n",moldyn.cutoff);