git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13434 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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)
|
void *PairMorse::extract(const char *str, int &dim)
|
||||||
{
|
{
|
||||||
dim = 2;
|
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,"r0") == 0) return (void *) r0;
|
||||||
if (strcmp(str,"alpha") == 0) return (void *) alpha;
|
if (strcmp(str,"alpha") == 0) return (void *) alpha;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user