git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13434 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-04-27 16:10:45 +00:00
parent 9c83d53cf0
commit e416658ad0

View File

@ -353,7 +353,7 @@ double PairMorse::single(int i, int j, int itype, int jtype, double rsq,
void *PairMorse::extract(const char *str, int &dim)
{
dim = 2;
if (strcmp(str,"d") == 0) return (void *) d0;
if (strcmp(str,"d0") == 0) return (void *) d0;
if (strcmp(str,"r0") == 0) return (void *) r0;
if (strcmp(str,"alpha") == 0) return (void *) alpha;
return NULL;