t_tersoff_mult_params *p;
+ // set cutoff before parameters (actually only necessary for some pots)
+ if(moldyn->cutoff==0.0) {
+ printf("[tersoff] WARNING: no cutoff!\n");
+ return -1;
+ }
+
/* alloc mem for potential parameters */
moldyn->pot_params=malloc(sizeof(t_tersoff_mult_params));
if(moldyn->pot_params==NULL) {