forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9878 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
208a91224c
commit
e506467be5
|
@ -193,6 +193,6 @@ double PairBornCoulMSM::single(int i, int j, int itype, int jtype,
|
|||
void *PairBornCoulMSM::extract(const char *str, int &dim)
|
||||
{
|
||||
dim = 0;
|
||||
if (strcmp(str,"cut_msm") == 0) return (void *) &cut_coul;
|
||||
if (strcmp(str,"cut_coul") == 0) return (void *) &cut_coul;
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -188,6 +188,6 @@ double PairBuckCoulMSM::single(int i, int j, int itype, int jtype,
|
|||
void *PairBuckCoulMSM::extract(const char *str, int &dim)
|
||||
{
|
||||
dim = 0;
|
||||
if (strcmp(str,"cut_msm") == 0) return (void *) &cut_coul;
|
||||
if (strcmp(str,"cut_coul") == 0) return (void *) &cut_coul;
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -200,7 +200,7 @@ double PairCoulMSM::single(int i, int j, int itype, int jtype,
|
|||
|
||||
void *PairCoulMSM::extract(const char *str, int &dim)
|
||||
{
|
||||
if (strcmp(str,"cut_msm") == 0) {
|
||||
if (strcmp(str,"cut_coul") == 0) {
|
||||
dim = 0;
|
||||
return (void *) &cut_coul;
|
||||
}
|
||||
|
|
|
@ -476,7 +476,7 @@ void *PairLJCharmmCoulMSM::extract(const char *str, int &dim)
|
|||
|
||||
dim = 0;
|
||||
if (strcmp(str,"implicit") == 0) return (void *) &implicit;
|
||||
if (strcmp(str,"cut_msm") == 0) return (void *) &cut_coul;
|
||||
if (strcmp(str,"cut_coul") == 0) return (void *) &cut_coul;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue