Extent extract method of BuckCoulLong
This commit is contained in:
committed by
GitHub
parent
9efc83195a
commit
6ff8fc093e
@ -558,5 +558,8 @@ void *PairBuckCoulLong::extract(const char *str, int &dim)
|
||||
{
|
||||
dim = 0;
|
||||
if (strcmp(str,"cut_coul") == 0) return (void *) &cut_coul;
|
||||
dim = 2;
|
||||
if (strcmp(str,"a") == 0) return (void *) a;
|
||||
if (strcmp(str,"c") == 0) return (void *) c;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user